Permalink
Browse files

Using empty.

  • Loading branch information...
1 parent 1640c53 commit 4b6307561f9d3bc244ed7eabb356ea1aed9ad2c4 @dblock committed Jul 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/heroku/bartender/command.rb
View
2 lib/heroku/bartender/command.rb
@@ -20,7 +20,7 @@ def self.sha_exist?(sha)
def self.move_to release, predeploy, heroku_remote
@@last_error = nil
- if predeploy && ! predeploy.strip.blank?
+ if predeploy && ! predeploy.strip.empty?
rc = system(predeploy)
if rc.nil? || ! rc
raise "Error executing pre-deploy command '#{predeploy}': #{$?}"

0 comments on commit 4b63075

Please sign in to comment.