Skip to content

Commit

Permalink
Address #173
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Jan 31, 2024
1 parent c4816e2 commit 5d483c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/miga/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def lock_file
##
# Return the value of +k+ in #data
def [](k)
if k.to_s =~ /(.+):(.+)/
if k.to_s =~ /^([^:]+):(.+)$/
data[$1.to_sym]&.fetch($2)
else
data[k.to_sym]
Expand Down

0 comments on commit 5d483c5

Please sign in to comment.