We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21a79eb commit b374b6eCopy full SHA for b374b6e
codeflash/cli_cmds/cli.py
@@ -135,7 +135,7 @@ def process_pyproject_config(args: Namespace) -> Namespace:
135
if args.benchmark:
136
assert args.benchmarks_root is not None, "--benchmarks-root must be specified when running with --benchmark"
137
assert Path(args.benchmarks_root).is_dir(), f"--benchmarks-root {args.benchmarks_root} must be a valid directory"
138
- assert Path(args.benchmarks_root).is_relative_to(Path(args.tests_root)), (
+ assert Path(args.benchmarks_root).resolve().is_relative_to(Path(args.tests_root).resolve()), (
139
f"--benchmarks-root {args.benchmarks_root} must be a subdirectory of --tests-root {args.tests_root}"
140
)
141
if env_utils.get_pr_number() is not None:
0 commit comments