mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Python: Make validTest error on empty output again
I accidentially disabled that when introducing the ability to handle more than one OK.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
def check_output(outtext, f):
|
||||
if all(s == "OK" for s in outtext.splitlines()):
|
||||
if outtext and all(s == "OK" for s in outtext.splitlines()):
|
||||
pass
|
||||
else:
|
||||
raise RuntimeError("Function failed", outtext, f)
|
||||
|
||||
Reference in New Issue
Block a user