Skip to content

Commit 339d642

Browse files
fix: remove unsupported -q flag from pre-commit clean in run.sh
pre-commit clean does not accept a -q/--quiet argument; passing it caused the CI step to exit immediately with exit code 2. Agent-Logs-Url: https://github.com/cpp-linter/cpp-linter-hooks/sessions/99350251-8df1-4994-9492-ca886e0e959f Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
1 parent 00cd0bb commit 339d642

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testing/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ run_test() {
2828
local expect_nonzero="$4"
2929

3030
echo "---- $description ----"
31-
uvx pre-commit clean -q
31+
uvx pre-commit clean
3232

3333
local output
3434
# shellcheck disable=SC2086 # word-splitting of $files is intentional

0 commit comments

Comments
 (0)