Skip to content

Commit e244b65

Browse files
authored
Merge pull request #248 from codeflash-ai/no-absolute-init
don't resolve directory when custom input is given for module root
2 parents 36dbdff + 4e9329e commit e244b65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def collect_setup_info() -> SetupInfo:
201201
path_type=inquirer.Path.DIRECTORY,
202202
)
203203
if custom_module_root_answer:
204-
module_root = Path(curdir) / Path(custom_module_root_answer["path"])
204+
module_root = Path(custom_module_root_answer["path"])
205205
else:
206206
apologize_and_exit()
207207
else:

0 commit comments

Comments
 (0)