Skip to content

Commit

Permalink
Merge pull request #394 from y-yagi/revert_385
Browse files Browse the repository at this point in the history
Fix `NoMethodError` when using dotenv without Rails.
  • Loading branch information
Andrew Nordman committed Jun 24, 2019
2 parents f27e550 + e2c0483 commit 52b9eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dotenv/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def run
rescue Errno::ENOENT => e
abort e.message
else
exec(*@argv) if @argv.present?
exec(*@argv) unless @argv.empty?
end
end

Expand Down

0 comments on commit 52b9eda

Please sign in to comment.