Skip to content

Commit 23c75fe

Browse files
send the module root to the lsp client
1 parent 9f8b100 commit 23c75fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/lsp/beta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def validate_project(server: CodeflashLanguageServer, _params: FunctionOptimizat
194194
except Exception:
195195
return {"status": "error", "message": "Repository has no commits (unborn HEAD)"}
196196

197-
return {"status": "success"}
197+
return {"status": "success", "module_root": args.module_root}
198198

199199

200200
def _initialize_optimizer_if_api_key_is_valid(server: CodeflashLanguageServer) -> dict[str, str]:

0 commit comments

Comments
 (0)