Use error-level logging for error
This commit is contained in:
@@ -9,7 +9,7 @@ namespace :deploy do
|
||||
stage = fetch(:stage, false)
|
||||
|
||||
unless branch && stage
|
||||
warn 'capistrano-deploytags requires that :branch and :stage be defined'
|
||||
error 'capistrano-deploytags requires that :branch and :stage be defined'
|
||||
raise 'define :branch and :stage'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user