Skip to content

Commit

Permalink
Fixed missing "on" in symfony_console task (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
romaricdrigon authored and Nyholm committed Mar 19, 2019
1 parent cdcac9f commit 5f0bf73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/capistrano/dsl/symfony.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def symfony_vendor_path
end

def symfony_console(command, params = '')
execute :php, symfony_console_path, command, params, fetch(:symfony_console_flags)
on release_roles(fetch(:symfony_deploy_roles)) do
execute :php, symfony_console_path, command, params, fetch(:symfony_console_flags)
end
end

end
Expand Down

0 comments on commit 5f0bf73

Please sign in to comment.