Skip to content

Commit f0a671e

Browse files
committed
More ENV fallbacks
1 parent f800d58 commit f0a671e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/secrets-manager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def initialize(client: nil)
4343
end
4444

4545
def secret_env
46-
ENV.fetch('AWS_SECRETS_ENV', 'dev')
46+
ENV['AWS_SECRETS_ENV'] || ENV['RACK_ENV'] || dev
4747
end
4848

4949
def client

0 commit comments

Comments
 (0)