mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
Ignore nil whitelist_emails_for_staging env setting #2880
This commit is contained in:
parent
e8a4706e73
commit
b686796234
1 changed files with 1 additions and 1 deletions
|
@ -10,5 +10,5 @@ TEST_EMAILS =
|
|||
)
|
||||
else
|
||||
ENV['whitelist_emails_for_staging'] ||= ''
|
||||
ENV['whitelist_emails_for_staging'].split(',').map(&:strip)
|
||||
ENV['whitelist_emails_for_staging'].to_s.split(',').map(&:strip)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue