Skip to content

Commit 8e95af7

Browse files
sylvestrecakebaker
andauthored
simplify code
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
1 parent 5e1c5d8 commit 8e95af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/compare_test_results.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def main():
197197
f.write(f"{line}\n")
198198

199199
# Return exit code based on whether we found regressions
200-
return 1 if len(real_regressions) > 0 else 0
200+
return 1 if real_regressions else 0
201201

202202

203203
if __name__ == "__main__":

0 commit comments

Comments
 (0)