Skip to content

Commit b9fe09c

Browse files
authored
fix: workspace folder scans (#305)
1 parent 814f9f2 commit b9fe09c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/java/io/snyk/languageserver/protocolextension/SnykExtendedLanguageClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public void triggerScan(Path projectPath) {
204204
try {
205205
if (projectPath != null) {
206206
if (languageServerConfigReceived.contains(projectPath)) {
207-
executeCommand(LsConstants.COMMAND_WORKSPACE_FOLDER_SCAN, List.of(projectPath));
207+
executeCommand(LsConstants.COMMAND_WORKSPACE_FOLDER_SCAN, List.of(projectPath.toString()));
208208
}
209209
return;
210210
}

0 commit comments

Comments
 (0)