From f713b5ab483c8d6c8a0bc3aa4a49fcab8753904f Mon Sep 17 00:00:00 2001 From: Barrie Bremner Date: Wed, 26 Sep 2012 11:27:57 +0100 Subject: [PATCH] GH issue 3: bring exception message inline with code, :branch _and_ :stage must be defined. --- lib/capistrano/deploy_tags.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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