Skip to content

Commit 85a8477

Browse files
re-naming
1 parent 10b89fa commit 85a8477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/optimization/optimizer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,11 +442,11 @@ def worktree_mode(self) -> None:
442442
logger.warning("Failed to create worktree. Skipping optimization.")
443443
return
444444
self.current_worktree = worktree_dir
445-
self.mutate_args_for_worktree_mode(worktree_dir)
445+
self.mirror_paths_for_worktree_mode(worktree_dir)
446446
# make sure the tests dir is created in the worktree, this can happen if the original tests dir is empty
447447
Path(self.args.tests_root).mkdir(parents=True, exist_ok=True)
448448

449-
def mutate_args_for_worktree_mode(self, worktree_dir: Path) -> None:
449+
def mirror_paths_for_worktree_mode(self, worktree_dir: Path) -> None:
450450
original_args = copy.deepcopy(self.args)
451451
original_test_cfg = copy.deepcopy(self.test_cfg)
452452
self.original_args_and_test_cfg = (original_args, original_test_cfg)

0 commit comments

Comments
 (0)