From ffa29d401c7a57b82128a083df53d8a34dd19032 Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Mon, 27 Nov 2023 13:07:21 -0700 Subject: [PATCH] Wrap vars in double quotes. --- specs/poetry/template/.githooks/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/poetry/template/.githooks/pre-commit b/specs/poetry/template/.githooks/pre-commit index f894b36..64996ae 100644 --- a/specs/poetry/template/.githooks/pre-commit +++ b/specs/poetry/template/.githooks/pre-commit @@ -8,6 +8,6 @@ filesToFormat=$( for path in $filesToFormat do - black --quiet $path - git add $path + black --quiet "$path" + git add "$path" done;