Merge pull request #4 from mydrive/gh3_inconsistent_validation_vs_exception
Issue 3: bring exception message inline with code
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user