From 0c19b9b6a4b011b0ac010b8c54ef6171731b97de Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Mon, 25 Sep 2023 10:57:37 +0300 Subject: [PATCH] chore: wrap shell args in quotes for consistency --- internal/templates/hook.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/templates/hook.tmpl b/internal/templates/hook.tmpl index 74b45034..a815a3f1 100644 --- a/internal/templates/hook.tmpl +++ b/internal/templates/hook.tmpl @@ -48,7 +48,7 @@ call_lefthook() npx @evilmartians/lefthook "$@" elif swift package plugin lefthook >/dev/null 2>&1 then - swift package --disable-sandbox plugin lefthook $@ + swift package --disable-sandbox plugin lefthook "$@" else echo "Can't find lefthook in PATH" {{- if .AssertLefthookInstalled}}