Skip to content

Commit 077066d

Browse files
committed
Remove --diff and --binary from clang-format flag
1 parent 80aa040 commit 077066d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/clang-format-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
trap 'rm -f "$DIFF_FILE"' EXIT
3939
4040
# Run git-clang-format against the PR base commit and capture status safely under set -e
41-
if git-clang-format-15 --diff "$BASE_REF" --binary clang-format-15 > "$DIFF_FILE"; then
41+
if git-clang-format-15 "$BASE_REF" > "$DIFF_FILE"; then
4242
status=0
4343
else
4444
status=$?
@@ -55,7 +55,7 @@ jobs:
5555
echo "=================================================="
5656
echo ""
5757
echo "Please run the following command locally on your feature branch and commit the changes:"
58-
echo " git-clang-format-15 --binary clang-format-15 $BASE_REF"
58+
echo " git-clang-format-15 $BASE_REF"
5959
exit 1
6060
else
6161
echo "❌ git-clang-format-15 failed with exit code $status"

test/wh_test_crypto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3642,7 +3642,7 @@ static int wh_ClientServer_MemThreadTest(void)
36423642
whClientDmaConfig clientDmaConfig = {0};
36433643
#endif
36443644
whClientConfig c_conf[1] = {{
3645-
.comm = cc_conf,
3645+
.comm = cc_conf,
36463646
#ifdef WOLFHSM_CFG_DMA
36473647
.dmaConfig = &clientDmaConfig,
36483648
#endif

0 commit comments

Comments
 (0)