Skip to content

Commit e27ee10

Browse files
chore: fix typo
Signed-off-by: saurabhraghuvanshii <[email protected]>
1 parent 737eabb commit e27ee10

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.clang-format

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
Language: Cpp
43
BasedOnStyle: LLVM
54
AlignArrayOfStructures: Left

.github/workflows/build.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ jobs:
2727

2828
- name: Run Clang Format Check
2929
run: |
30-
# Format all source - "fi" the source is formatted properly this will do nothing
30+
# Format all source - if the source is formatted properly this will do nothing
3131
clang-format -i *.c *.h client/*.c
3232
3333
# Do we have unwanted changes?
3434
if ! git diff-index --quiet HEAD; then
35-
# Show the changes
36-
echo "ERROR: Code is not properly formatted."
37-
echo
38-
git --no-pager diff
39-
40-
echo
41-
echo >&4 "Please run clang-format locally and commit the changes."
42-
exit 1
35+
# Show the changes
36+
echo "ERROR: Code is not properly formatted."
37+
echo
38+
git --no-pager diff
39+
40+
echo
41+
echo >&2 "Please run clang-format locally and commit the changes."
42+
exit 1
4343
fi
4444
4545
build:

0 commit comments

Comments
 (0)