Skip to content

Commit 46c00ff

Browse files
authored
Merge pull request #1754 from zdehasek/main
fix --skip-commit for pre-connect hook
2 parents cf6d7b2 + 6adde53 commit 46c00ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/kamal/cli/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def on(*args, &block)
173173

174174
def pre_connect_if_required
175175
if !KAMAL.connected?
176-
run_hook "pre-connect"
176+
run_hook "pre-connect" unless options[:skip_hooks]
177177
KAMAL.connected = true
178178
end
179179
end

0 commit comments

Comments
 (0)