Skip to content

Commit dc6c4cd

Browse files
authored
warn user to run codeflash init if config not found (#882)
1 parent 9c456cc commit dc6c4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/code_utils/config_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def parse_config_file(
100100
try:
101101
tool = data["tool"]
102102
assert isinstance(tool, dict)
103-
config = tool.get("codeflash", {})
103+
config = tool["codeflash"]
104104
except tomlkit.exceptions.NonExistentKey as e:
105105
if lsp_mode:
106106
# don't fail in lsp mode if codeflash config is not found.

0 commit comments

Comments
 (0)