lib/dotenv/parser.rb in dotenv-2.8.0 vs lib/dotenv/parser.rb in dotenv-2.8.1

- old
+ new

@@ -82,10 +82,10 @@ def expand_newlines(value) value.gsub('\n', "\n").gsub('\r', "\r") end def variable_not_set?(line) - !line.split[1..].all? { |var| @hash.member?(var) } + !line.split[1..-1].all? { |var| @hash.member?(var) } end def unescape_value(value, maybe_quote) if maybe_quote == '"' unescape_characters(expand_newlines(value))