Skip to content

Commit f738100

Browse files
authored
Merge pull request #106 from atom-ide-community/null-when-no-workspace
fix: set workspaceFolders to null when there is no workspace
2 parents bf599f8 + 5814197 commit f738100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/auto-languageclient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export default class AutoLanguageClient {
123123
processId: process.pid,
124124
rootPath: projectPath,
125125
rootUri: Convert.pathToUri(projectPath),
126-
workspaceFolders: [],
126+
workspaceFolders: null,
127127
capabilities: {
128128
workspace: {
129129
applyEdit: true,

0 commit comments

Comments
 (0)