ignore successfull 4 byte clang tidy report
This commit is contained in:
parent
490939a4b7
commit
6012e873b5
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ class BuildReport:
|
||||||
self.comments.append(section_title('clang-tidy', False, False))
|
self.comments.append(section_title('clang-tidy', False, False))
|
||||||
return
|
return
|
||||||
p = os.path.join(self.results_dir, self.clang_tidy_result)
|
p = os.path.join(self.results_dir, self.clang_tidy_result)
|
||||||
if os.stat(p).st_size != 0:
|
if os.stat(p).st_size > 4:
|
||||||
self.api.add_artifact(self.ph_id, self.clang_tidy_result, "clang-tidy", self.results_url)
|
self.api.add_artifact(self.ph_id, self.clang_tidy_result, "clang-tidy", self.results_url)
|
||||||
ignore = pathspec.PathSpec.from_lines(pathspec.patterns.GitWildMatchPattern,
|
ignore = pathspec.PathSpec.from_lines(pathspec.patterns.GitWildMatchPattern,
|
||||||
open(self.clang_tidy_ignore, 'r').readlines())
|
open(self.clang_tidy_ignore, 'r').readlines())
|
||||||
|
|
Loading…
Reference in a new issue