vscode-extensions.hashicorp.terraform: 2.10.2 -> 2.11.0
This commit is contained in:
parent
4e211c1b09
commit
035434d8d5
@ -3,13 +3,13 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
|
|||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "terraform";
|
name = "terraform";
|
||||||
publisher = "hashicorp";
|
publisher = "hashicorp";
|
||||||
version = "2.10.2";
|
version = "2.11.0";
|
||||||
};
|
};
|
||||||
|
|
||||||
vsix = fetchurl {
|
vsix = fetchurl {
|
||||||
name = "${mktplcRef.publisher}-${mktplcRef.name}.zip";
|
name = "${mktplcRef.publisher}-${mktplcRef.name}.zip";
|
||||||
url = "https://github.com/hashicorp/vscode-terraform/releases/download/v${mktplcRef.version}/${mktplcRef.name}-${mktplcRef.version}.vsix";
|
url = "https://github.com/hashicorp/vscode-terraform/releases/download/v${mktplcRef.version}/${mktplcRef.name}-${mktplcRef.version}.vsix";
|
||||||
sha256 = "0fkkjkybjshgzbkc933jscxyxqwmqnhq3718pnw9hsac8qv0grrz";
|
sha256 = "0wqdya353b415qxs8jczmis3q6d8fddv1pdd8jdd0w64s1ibv3sy";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./fix-terraform-ls.patch ];
|
patches = [ ./fix-terraform-ls.patch ];
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
diff --git a/out/extension.js b/out/extension.js
|
diff --git a/out/extension.js b/out/extension.js
|
||||||
index e815393..aeade0e 100644
|
index e932d27..099126b 100644
|
||||||
--- a/out/extension.js
|
--- a/out/extension.js
|
||||||
+++ b/out/extension.js
|
+++ b/out/extension.js
|
||||||
@@ -141,25 +141,6 @@ function updateLanguageServer() {
|
@@ -143,25 +143,6 @@ function updateLanguageServer() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const delay = 1000 * 60 * 24;
|
const delay = 1000 * 60 * 60 * 24;
|
||||||
setTimeout(updateLanguageServer, delay); // check for new updates every 24hrs
|
languageServerUpdater.timeout(updateLanguageServer, delay); // check for new updates every 24hrs
|
||||||
- // skip install if a language server binary path is set
|
- // skip install if a language server binary path is set
|
||||||
- if (!vscodeUtils_1.config('terraform').get('languageServer.pathToBinary')) {
|
- if (!vscodeUtils_1.config('terraform').get('languageServer.pathToBinary')) {
|
||||||
- const installer = new languageServerInstaller_1.LanguageServerInstaller(installPath, reporter);
|
- const installer = new languageServerInstaller_1.LanguageServerInstaller(installPath, reporter);
|
||||||
@ -28,7 +28,7 @@ index e815393..aeade0e 100644
|
|||||||
return startClients(); // on repeat runs with no install, this will be a no-op
|
return startClients(); // on repeat runs with no install, this will be a no-op
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -257,7 +238,7 @@ function pathToBinary() {
|
@@ -259,7 +240,7 @@ function pathToBinary() {
|
||||||
reporter.sendTelemetryEvent('usePathToBinary');
|
reporter.sendTelemetryEvent('usePathToBinary');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user