vscode-extensions.hashicorp.terraform: 2.13.1 -> 2.13.2

This commit is contained in:
Ryan Horiguchi 2021-07-20 08:56:18 +02:00
parent 7b21ffc4d4
commit a96e02a808
No known key found for this signature in database
GPG Key ID: CA7EE98D45A1132A
2 changed files with 8 additions and 9 deletions

View File

@ -3,13 +3,13 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
mktplcRef = {
name = "terraform";
publisher = "hashicorp";
version = "2.13.1";
version = "2.13.2";
};
vsix = fetchurl {
name = "${mktplcRef.publisher}-${mktplcRef.name}.zip";
url = "https://github.com/hashicorp/vscode-terraform/releases/download/v${mktplcRef.version}/${mktplcRef.name}-${mktplcRef.version}.vsix";
sha256 = "1l7gsb28yj2z1zfzgb8xiyf166v4blxfdkyiixlm1pqnn2lj6yb6";
sha256 = "0h7c6p2dcwsg7wlp49p2fsq0f164pzkx65929imd1m2df77aykqa";
};
patches = [ ./fix-terraform-ls.patch ];

View File

@ -1,5 +1,5 @@
diff --git a/out/clientHandler.js b/out/clientHandler.js
index 6d314ea..dadab90 100644
index 7f9716d..a543d60 100644
--- a/out/clientHandler.js
+++ b/out/clientHandler.js
@@ -33,8 +33,7 @@ class ClientHandler {
@ -13,14 +13,13 @@ index 6d314ea..dadab90 100644
}
startClients(folders) {
diff --git a/out/extension.js b/out/extension.js
index f1eb66d..9b0f832 100644
index 7a271fc..726bbf8 100644
--- a/out/extension.js
+++ b/out/extension.js
@@ -145,25 +145,6 @@ function updateLanguageServer(clientHandler, installPath) {
return __awaiter(this, void 0, void 0, function* () {
const delay = 1000 * 60 * 60 * 24;
languageServerUpdater.timeout(updateLanguageServer, delay); // check for new updates every 24hrs
- // skip install if a language server binary path is set
@@ -149,24 +149,6 @@ function updateLanguageServer(clientHandler, installPath) {
updateLanguageServer(clientHandler, installPath);
}, 24 * hour);
// skip install if a language server binary path is set
- if (!vscodeUtils_1.config('terraform').get('languageServer.pathToBinary')) {
- const installer = new languageServerInstaller_1.LanguageServerInstaller(installPath, reporter);
- const install = yield installer.needsInstall();