Skip to content

Commit

Permalink
Add APP_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvh authored Jul 9, 2020
1 parent 855abc9 commit 6f3259b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database_cleaner/safeguard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def skip?
end

class Production
KEYS = %w(ENV RACK_ENV RAILS_ENV)
KEYS = %w(ENV APP_ENV RACK_ENV RAILS_ENV)

def run
raise Error::ProductionEnv.new(key) if !skip? && given?
Expand Down

0 comments on commit 6f3259b

Please sign in to comment.