lib/capistrano/tasks/nginx.rake in capistrano3-nginx-3.0 vs lib/capistrano/tasks/nginx.rake in capistrano3-nginx-3.0.1
- old
+ new
@@ -47,10 +47,10 @@
end
task :create_log_paths do
on release_roles fetch(:nginx_roles) do
arguments = :mkdir, '-pv', fetch(:nginx_log_path)
- add_sudo_if_required arguments, :nginx_log_path
+ git_plugin.add_sudo_if_required arguments, :nginx_log_path
execute *arguments, interaction_handler: PasswdInteractionHandler.new
end
end
after 'deploy:check', 'nginx:create_log_paths'