aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-11-12 11:15:53 +0100
committerPatrick Spek <p.spek@tyil.nl>2020-11-12 11:15:53 +0100
commit9205fb48a747edc14bbac9e70646cec93891c97c (patch)
tree95ce18e4e27f1039665f07beb3c4510047b8ef88 /lib
parentcb947f141e4478c67c1ff679e89902a0f7572a75 (diff)
.clone the data hash
Diffstat (limited to 'lib')
-rw-r--r--lib/Config.rakumod2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Config.rakumod b/lib/Config.rakumod
index f85774a..2d33b71 100644
--- a/lib/Config.rakumod
+++ b/lib/Config.rakumod
@@ -149,7 +149,7 @@ multi method read (
Config.new(
%!template,
:$!name,
- data => merge-hash(%!data, %data),
+ data => merge-hash(%!data.clone, %data),
:!read-from-env,
:!read-from-xdg,
)