diff --git a/CHANGELOG.md b/CHANGELOG.md index f12c3ea..e673dfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog ### master +- use `deploy_path` helper instead of `fetch :deploy_to` - fix a bug: plugin task blows up if setup task is not defined diff --git a/lib/capistrano/tasks/safe_deploy_to.rake b/lib/capistrano/tasks/safe_deploy_to.rake index ac56792..b11dc42 100644 --- a/lib/capistrano/tasks/safe_deploy_to.rake +++ b/lib/capistrano/tasks/safe_deploy_to.rake @@ -1,7 +1,7 @@ namespace :load do task :defaults do set :safe_deploy_to_owner, nil - set :safe_deploy_to_path, -> { fetch(:deploy_to) } + set :safe_deploy_to_path, -> { deploy_path } end end