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 2340728 commit 14f5b90Copy full SHA for 14f5b90
codeflash/lsp/beta.py
@@ -194,10 +194,7 @@ def get_config_value(key: str, default: str = "") -> str:
194
# Validate tests_root directory exists if provided
195
if tests_root:
196
# 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()
+ base_dir = cfg_file.parent if cfg_file else Path.cwd()
201
tests_root_path = (base_dir / tests_root).resolve()
202
if not tests_root_path.exists() or not tests_root_path.is_dir():
203
return {
0 commit comments