Skip to content

Commit 37d8267

Browse files
authored
Handle existing directory when extracting benchmark result (#7171)
1 parent 3943581 commit 37d8267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/extract_benchmark_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def main() -> None:
451451
continue
452452

453453
output_dir = os.path.join(args.output_dir, schema)
454-
os.mkdir(output_dir)
454+
os.makedirs(output_dir, exist_ok=True)
455455

456456
output_file = os.path.basename(args.artifacts)
457457
with open(f"{output_dir}/{output_file}", "w") as f:

0 commit comments

Comments
 (0)