From 979e528aec793ebbb87a902ce58a30a10f20fca7 Mon Sep 17 00:00:00 2001 From: chengyangkj Date: Fri, 26 Jan 2024 14:49:07 +0800 Subject: [PATCH] format --- format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.sh b/format.sh index 8a0b787..875fa91 100644 --- a/format.sh +++ b/format.sh @@ -1,4 +1,4 @@ #!/bin/bash # sudo apt-get install clang-format version 10 -find ./ -regex '.*\.cc\|.*\.cpp|.*\.h\|.*\.proto' -and -not -regex '.*\.pb\.cc\|.*\.pb\.h' | xargs clang-format -i --style=file +find ./ -regex '.*\.cc\|.*\.cpp|.*\.h\|.*\.proto' -and -not -regex '.*\.pb\.cc\|.*\.pb\.h' | xargs clang-format-10 -i --style=file