Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 436fb50

Browse files
William Douglasbryteise
authored andcommitted
Don't version clang-format
clang-format changing output between versions is painful so might need to be reconsidered at some point. Signed-off-by: William Douglas <[email protected]>
1 parent dbeb366 commit 436fb50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/code_analysis/compliant.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ check_sort_makefile()
2424
return "$status"
2525
fi
2626

27-
run clang-format-10 -i -style=file src/*.[ch] src/lib/*.[ch]
27+
run clang-format -i -style=file src/*.[ch] src/lib/*.[ch] src/3rd_party/*.[ch] src/cmds/*.[ch] src/swupd_lib/*.[ch] src/verifytime/*.[ch]
2828
if [ "$status" -ne 0 ]; then
29-
echo "clang-format-10 failed with status $status. Check if you have clang-format-10 installed"
29+
echo "clang-format failed with status $status. Check if you have clang-format installed"
3030
return "$status"
3131
fi
3232

0 commit comments

Comments
 (0)