Skip to content

Commit dee6d9f

Browse files
committed
change warning to error
1 parent f39f0b5 commit dee6d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/tool/run-clang-tidy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def aggregate_profiles(profile_dir: str) -> Dict[str, float]:
199199
else:
200200
aggregated[key] = value
201201
except (json.JSONDecodeError, KeyError, IOError) as e:
202-
print(f"Warning: invalid json file {profile_file}: {e}", file=sys.stderr)
202+
print(f"Error: invalid json file {profile_file}: {e}", file=sys.stderr)
203203
continue
204204

205205
return aggregated

0 commit comments

Comments
 (0)