Skip to content

Commit

Permalink
build: additional cppcheck version diagnostics on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Feb 28, 2024
1 parent 624bf0b commit e53656e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/c-lint
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ else
args="$args --std=posix"
fi

exec cppcheck $args "$@"
cppcheck $args "$@"
exitcode=$?
test $exitcode -ne 0 && cppcheck --version
exit $exitcode

0 comments on commit e53656e

Please sign in to comment.