Skip to content

Commit b975910

Browse files
committed
remove debug print from clang-tidy
1 parent ec92132 commit b975910

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp_linter_hooks/clang_tidy.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ def run_clang_tidy(args) -> int:
1414
continue
1515
command.append(arg)
1616

17-
print(command)
1817
retval = 0
1918
output = ""
2019
try:
2120
sp = subprocess.run(command, stdout=subprocess.PIPE)
2221
retval = sp.returncode
2322
output = sp.stdout.decode("utf-8")
24-
if "warning:" in output:
23+
if "warning:" in output or "error:" in output:
2524
retval = 1
2625
return retval, output
2726
except FileNotFoundError as e:

0 commit comments

Comments
 (0)