tools: Fix cppcheck not showing problem status.

- cppcheck was always returning ok status.
This commit is contained in:
Andrew Hamilton 2021-05-06 03:32:03 +10:00
parent fa54f38e40
commit 50b95aa10f

View file

@ -268,7 +268,7 @@ tools_for_extensions = [
[cppcheck]
dependencies = ["cppcheck"]
url = "http://sourceforge.net/p/cppcheck/wiki/Home/"
command = "cppcheck"
command = "cppcheck --error-exitcode=1"
[ruby_syntax]
dependencies = ["ruby2.7"]