Skip to content

Commit

Permalink
Get stacktrace from diff command
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnmp committed Jan 23, 2024
1 parent ac028f3 commit deafe06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo "Pre-git reset"
git reset --soft $(git merge-base HEAD origin/master)
echo "Pre-find diff"
diff=$(git clang-format-18 --style=file --diff)
diff=$(git clang-format-18 --style=file --diff 2>&1)
echo "Pre-diff check"
if [ $(echo "${diff}" | wc -l) != 1 ]; then
echo "Formatting errors detected! Suggested changes:"
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ endif()
add_compile_options(
-Wall
-Wextra
# -Werror
-Werror
)

add_subdirectory(ar)
Expand Down

0 comments on commit deafe06

Please sign in to comment.