mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fix startup with no env
This commit is contained in:
parent
b5aa74642a
commit
841095bbe0
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
# Print logo and banner for development
|
||||
if options[:environment] == 'development'
|
||||
if environment == 'development'
|
||||
if Sidekiq::NAME == 'Sidekiq Pro'
|
||||
puts "\e[#{31}m"
|
||||
print_pro_banner
|
||||
|
|
Loading…
Reference in a new issue