Skip to content

Commit b914632

Browse files
authored
If language server path "" should be the same as null. (#163)
1 parent 950d8ee commit b914632

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/language/dafnyInstallation.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ export class DafnyInstaller {
174174
}
175175

176176
public isCustomInstallation(): boolean {
177-
return getConfiguredLanguageServerRuntimePath() != null;
177+
const configuredLanguageServerRuntimePath = getConfiguredLanguageServerRuntimePath();
178+
return configuredLanguageServerRuntimePath != null && configuredLanguageServerRuntimePath !== '';
178179
}
179180

180181
public async isLanguageServerRuntimeAccessible(): Promise<boolean> {

0 commit comments

Comments
 (0)