Permalink
Browse files

Notifier should work if branch is not specified

  • Loading branch information...
1 parent f8c51de commit 63bc6845b5b9efdf632a13e81534d7593e93c16f @jrust jrust committed May 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/notifier/base.rb
@@ -10,7 +10,7 @@ def application
end
def branch
- cap.branch
+ cap.respond_to?(:branch) ? cap.branch : 'master'
end
def cap

0 comments on commit 63bc684

Please sign in to comment.