From bb6d701fc82347d7fdf91d1511d281368e61fa0c Mon Sep 17 00:00:00 2001 From: Dave Watson Date: Wed, 11 Oct 2023 10:31:17 -0700 Subject: [PATCH] Update oclint.py --- hooks/oclint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/oclint.py b/hooks/oclint.py index 399f846..65f052d 100755 --- a/hooks/oclint.py +++ b/hooks/oclint.py @@ -38,7 +38,7 @@ def run(self): current_files = os.listdir(os.getcwd()) self.run_command([filename] + self.args) # Errors are sent to stdout instead of stderr - if b"Errors" in self.stdout: + if b"FilesWithViolations=1" in self.stdout: self.stderr = self.stdout # If errors have been captured, stdout is unexpected self.stdout = b""