mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #930 from mpapis/bugfix/gh_issue_915
Make sure deploying? method is available beofre testing it, fix #915
This commit is contained in:
commit
1c6776fe2d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ module Capistrano
|
|||
end
|
||||
|
||||
def exit_because_of_exception(ex)
|
||||
if deploying?
|
||||
if respond_to?(:deploying?) && deploying?
|
||||
exit_deploy_because_of_exception(ex)
|
||||
else
|
||||
super
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue