Skip to content

Commit 14ccc44

Browse files
authored
Merge branch 'main' into fix-formatter
2 parents b497210 + f628f31 commit 14ccc44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,8 @@ def install_github_actions(override_formatter_check: bool = False) -> None: # n
514514
from importlib.resources import files
515515

516516
benchmark_mode = False
517-
if "benchmarks_root" in config:
517+
benchmarks_root = config.get("benchmarks_root", "").strip()
518+
if benchmarks_root and benchmarks_root != "":
518519
benchmark_mode = inquirer_wrapper(
519520
inquirer.confirm,
520521
message="⚡️It looks like you've configured a benchmarks_root in your config. Would you like to run the Github action in benchmark mode? "

0 commit comments

Comments
 (0)