diff --git a/static-checks/diff/audit-sample-rules.py b/static-checks/diff/audit-sample-rules.py index c390945..a53af4c 100755 --- a/static-checks/diff/audit-sample-rules.py +++ b/static-checks/diff/audit-sample-rules.py @@ -115,7 +115,5 @@ def report_diff(*args, ds_contents, sample_contents, filename, **kwargs): 'fail', rule_name, f'{filepath.name} changed', ds_contents=ds_contents, sample_contents=sample_contents, filename=filepath.name, ) - else: - results.report('pass', rule_name, filepath.name) results.report_and_exit()