Skip to content

Commit ee15d8c

Browse files
committed
slight fix for setup
1 parent e220159 commit ee15d8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codeflash/cli_cmds/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ def process_pyproject_config(args: Namespace) -> Namespace:
167167
# in this case, the ".." becomes outside project scope, causing issues with un-importable paths
168168
args.project_root = project_root_from_module_root(args.module_root, pyproject_file_path)
169169
args.tests_root = Path(args.tests_root).resolve()
170-
args.benchmarks_root = Path(args.benchmarks_root).resolve()
170+
if args.benchmarks_root:
171+
args.benchmarks_root = Path(args.benchmarks_root).resolve()
171172
args.test_project_root = project_root_from_module_root(args.tests_root, pyproject_file_path)
172173
return handle_optimize_all_arg_parsing(args)
173174

0 commit comments

Comments
 (0)