Skip to content

Commit

Permalink
Remove escape characters when loading environment values laserlemon#280
Browse files Browse the repository at this point in the history
  • Loading branch information
banta committed Dec 27, 2019
1 parent 6310054 commit 5a9c977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/figaro/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def missing_key!(key)

def get_value(key)
_, value = ::ENV.detect { |k, _| k.downcase == key }
value
eval("\"#{value}\"") if value
end
end
end

0 comments on commit 5a9c977

Please sign in to comment.