Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions codeflash/optimization/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,10 @@ def mirror_paths_for_worktree_mode(self, worktree_dir: Path) -> None:
if self.args.file:
self.args.file = mirror_path(self.args.file, original_git_root, worktree_dir)

if self.args.all:
# the args.all path is the same as module_root.
self.args.all = mirror_path(self.args.all, original_git_root, worktree_dir)

# mirror tests root
self.args.tests_root = mirror_path(self.args.tests_root, original_git_root, worktree_dir)
self.test_cfg.tests_root = mirror_path(self.test_cfg.tests_root, original_git_root, worktree_dir)
Expand Down
Loading