Skip to content

Commit 93938ec

Browse files
committed
Rm redundant check
1 parent fefb3ad commit 93938ec

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/scripts/merge_retagger_results.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def merge_reports(reports: list[str], outfile: str):
5353
def main(outfile: str, source_dir: str, pattern: str):
5454
path = f"{source_dir}/{pattern}"
5555
files = glob.glob(path)
56-
if len(files) == 0: raise FileNotFoundError("No report file found")
5756

5857
files = [file for file in files if file.endswith(".json")]
5958
merge_reports(files, outfile)

0 commit comments

Comments
 (0)