Use default verbosity for hooks

This commit is contained in:
Donal McBreen
2024-04-02 09:44:00 +01:00
parent 2562853ae3
commit 82962c375d
4 changed files with 9 additions and 9 deletions

View File

@@ -157,7 +157,7 @@ module Kamal::Cli
say "Running the #{hook} hook...", :magenta
run_locally do
KAMAL.with_verbosity(:debug) { execute *KAMAL.hook.run(hook, **details, **extra_details) }
execute *KAMAL.hook.run(hook, **details, **extra_details)
rescue SSHKit::Command::Failed
raise HookError.new("Hook `#{hook}` failed")
end