From fdc7be1318af92f364b3b03308276a5364d052cb Mon Sep 17 00:00:00 2001 From: Enno Richter Date: Fri, 2 May 2025 05:43:45 +0200 Subject: [PATCH] docs: update lint/test pre-commit shell script example to use "$@" for proper argument handling --- aider/website/docs/usage/lint-test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/website/docs/usage/lint-test.md b/aider/website/docs/usage/lint-test.md index 0dfdccbae..c44398788 100644 --- a/aider/website/docs/usage/lint-test.md +++ b/aider/website/docs/usage/lint-test.md @@ -52,8 +52,8 @@ the script as your linter. # Second attempt will not do anything and exit 0 unless there's a real problem beyond # the code formatting that was completed. -pre-commit run --files $* >/dev/null \ - || pre-commit run --files $* +pre-commit run --files "$@" >/dev/null \ + || pre-commit run --files "$@" ``` ## Testing