Skip to content

Commit 14f5b90

Browse files
committed
fix formmatting
1 parent 2340728 commit 14f5b90

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

codeflash/lsp/beta.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,7 @@ def get_config_value(key: str, default: str = "") -> str:
194194
# Validate tests_root directory exists if provided
195195
if tests_root:
196196
# Resolve path relative to config file directory or current working directory
197-
if cfg_file:
198-
base_dir = cfg_file.parent
199-
else:
200-
base_dir = Path.cwd()
197+
base_dir = cfg_file.parent if cfg_file else Path.cwd()
201198
tests_root_path = (base_dir / tests_root).resolve()
202199
if not tests_root_path.exists() or not tests_root_path.is_dir():
203200
return {

0 commit comments

Comments
 (0)