Permalink
Browse files

Fixed breakage when staging or production branch does not yet exist

  • Loading branch information...
sporkd authored and mjankowski committed Apr 23, 2010
1 parent 4ae3f38 commit 9f42d93e9308b4b5616d6055bbd38ed6bc4024b5
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/git.rake
View
@@ -18,7 +18,7 @@ module GitCommands
end
def self.remote_branch_exists?(branch)
- ! run("git branch -r --no-color | grep '#{branch}'").blank?
+ ! run("git branch -r --no-color | grep '#{branch}'").empty?
end
def self.ensure_clean_working_directory!

0 comments on commit 9f42d93

Please sign in to comment.