diff --git a/runchecks.sh b/runchecks.sh index 7102d71..8555b19 100644 --- a/runchecks.sh +++ b/runchecks.sh @@ -1,3 +1,3 @@ #! /bin/bash -cppcheck "$2" -q --language=c++ --template="::{severity} file={file},line={line},col={column}::{message}" "$1" | dump_json_append -file messages.cache \ No newline at end of file +{ cppcheck "$2" -q --language=c++ --template="::{severity} file={file},line={line},col={column}::{message}" "$1" 1>&2; } 2>&1 | dump_json_append -file messages.cache \ No newline at end of file