From 50b95aa10fe8428f4cc36e812bb35bf935121290 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Thu, 6 May 2021 03:32:03 +1000 Subject: [PATCH] tools: Fix cppcheck not showing problem status. - cppcheck was always returning ok status. --- eris/tools.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eris/tools.toml b/eris/tools.toml index 30949c7..9d06533 100644 --- a/eris/tools.toml +++ b/eris/tools.toml @@ -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"]