Skip to content

Commit

Permalink
fix: set workspaceFolders to null when there is no workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Dec 12, 2020
1 parent bf599f8 commit 5814197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auto-languageclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default class AutoLanguageClient {
processId: process.pid,
rootPath: projectPath,
rootUri: Convert.pathToUri(projectPath),
workspaceFolders: [],
workspaceFolders: null,
capabilities: {
workspace: {
applyEdit: true,
Expand Down

0 comments on commit 5814197

Please sign in to comment.