Skip to content

Commit

Permalink
Update bash.py
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnaa05 authored Dec 17, 2024
1 parent a42473c commit 60744e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thor/maestro/bash.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def make_clean_workspace(self, num_step: int):
workspace_path = Path('./workspace')
self.workspace_abs_path = workspace_path.resolve()
workspace_path.mkdir(exist_ok=True)
# Delete folder if exists else create a new folder
# Delete folder if exists and create a new folder
folder_path = (workspace_path / str(num_step))
if os.path.exists(folder_path) and os.path.isdir(folder_path):
shutil.rmtree(folder_path)
Expand Down

0 comments on commit 60744e5

Please sign in to comment.