Merge pull request #4 from mydrive/gh3_inconsistent_validation_vs_exception

Issue 3: bring exception message inline with code
This commit is contained in:
relistan
2012-09-28 12:00:19 -07:00
+1 -1
View File
@@ -16,7 +16,7 @@ module Capistrano
def validate_git_vars
unless exists?(:branch) && exists?(:stage)
logger.log Capistrano::Logger::IMPORTANT, "Capistrano Deploytags requires that :branch and :stage be defined."
raise 'define :branch or :stage'
raise 'define :branch and :stage'
end
end