From 6ffac4223ce3eab7654ac4c4711b04d370170e62 Mon Sep 17 00:00:00 2001 From: co63oc Date: Mon, 22 Sep 2025 08:32:29 +0800 Subject: [PATCH] fix nul --- tools/codestyle/pre_commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/codestyle/pre_commit.sh b/tools/codestyle/pre_commit.sh index 8544a4a97fe..bab8bcbbab3 100644 --- a/tools/codestyle/pre_commit.sh +++ b/tools/codestyle/pre_commit.sh @@ -16,7 +16,7 @@ set +x # use pre-commit 4.2.0 if ! [[ $(pre-commit --version) == *"4.2.0"* ]]; then - pip install pre-commit==4.2.0 1>nul + pip install pre-commit==4.2.0 1>/dev/null fi # Install clang-format before git commit to avoid repeat installation due to