Skip to content

Commit 4bb0aad

Browse files
committed
minor fix for removing files
1 parent 9578854 commit 4bb0aad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

codeflash/optimization/optimizer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ def run(self) -> None:
127127
logger.info("Information on existing benchmarks will not be available for this run.")
128128
finally:
129129
# Restore original source code
130-
trace_file.unlink()
131-
shutil.rmtree(self.replay_tests_dir, ignore_errors=True)
132130
for file in file_path_to_source_code:
133131
with file.open("w", encoding="utf8") as f:
134132
f.write(file_path_to_source_code[file])

0 commit comments

Comments
 (0)