2021-08-02 22:40:24 +02:00
|
|
|
diff --git a/out/serverPath.js b/out/serverPath.js
|
|
|
|
index ffb1b80..990ca2b 100644
|
|
|
|
--- a/out/serverPath.js
|
|
|
|
+++ b/out/serverPath.js
|
|
|
|
@@ -8,7 +8,13 @@ exports.CUSTOM_BIN_PATH_OPTION_NAME = 'languageServer.pathToBinary';
|
|
|
|
class ServerPath {
|
|
|
|
constructor(context) {
|
|
|
|
this.context = context;
|
|
|
|
- this.customBinPath = vscode.workspace.getConfiguration('terraform').get(exports.CUSTOM_BIN_PATH_OPTION_NAME);
|
|
|
|
+
|
|
|
|
+ const customBinPath = vscode.workspace.getConfiguration('terraform').get(exports.CUSTOM_BIN_PATH_OPTION_NAME);
|
|
|
|
+ if (!customBinPath) {
|
|
|
|
+ this.customBinPath = 'TERRAFORM-LS-PATH';
|
|
|
|
+ } else {
|
|
|
|
+ this.customBinPath = customBinPath;
|
|
|
|
+ }
|
2021-07-16 11:12:08 +02:00
|
|
|
}
|
2021-08-02 22:40:24 +02:00
|
|
|
installPath() {
|
|
|
|
return this.context.asAbsolutePath(INSTALL_FOLDER_NAME);
|