Skip to content

Commit

Permalink
Reverted unneeded change
Browse files Browse the repository at this point in the history
  • Loading branch information
EugZol committed Oct 9, 2023
1 parent 10b6254 commit a87aab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datacaster/predefined.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def pick(*keys)
result =
keys.map do |key|
Array(key).reduce(input) do |result, k|
result = instance_eval { retrieve_key.(result, k) }
result = retrieve_key.(result, k)
break result if result == Datacaster.absent
result
end
Expand Down

0 comments on commit a87aab6

Please sign in to comment.