Use nullish coalescing operator

This commit is contained in:
Kolja Lampe
2019-12-22 20:40:59 +01:00
parent 972c97c5be
commit cded74bc72
3 changed files with 2 additions and 3 deletions

View File

@@ -9,7 +9,6 @@
- Fix files without module declaration not getting added to our index
- Fix rename devouring Module prefixes
## 0.7.3
- Fix a case of wrong highlighting

View File

@@ -57,7 +57,7 @@ function getInstallPackageCommand(packageToInstall: string): string {
"elmLS",
);
let t: string = config.get("elmPath") as string;
t = t || "elm";
t = t ?? "elm";
return t + " install " + packageToInstall;
}

2
server

Submodule server updated: fbc9cbd6fa...b828527acf