diff --git a/lib/capistrano/deploy_tags.rb b/lib/capistrano/deploy_tags.rb index d7027a5..1fae4ae 100644 --- a/lib/capistrano/deploy_tags.rb +++ b/lib/capistrano/deploy_tags.rb @@ -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