Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix a problem with bushido_app_claimed? if the variable value is an e…

…mpty string
  • Loading branch information...
commit 293557a245fa0ce09464887ac229045408f1d4f9 1 parent dfb4ed4
Didier Lafforgue did authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/locomotive/hosting/bushido.rb
2  lib/locomotive/hosting/bushido.rb
View
@@ -26,7 +26,7 @@ def bushido?
end
def bushido_app_claimed?
- ENV['BUSHIDO_CLAIMED'] && ENV['BUSHIDO_CLAIMED'].to_s.downcase == 'true'
+ ENV['BUSHIDO_CLAIMED'].present? && ENV['BUSHIDO_CLAIMED'].to_s.downcase == 'true'
end
def enable_bushido
Please sign in to comment.
Something went wrong with that request. Please try again.