vscode-extensions.hashicorp.terraform: 2.6.0 -> 2.7.0

This commit is contained in:
Ryan Horiguchi 2021-02-23 15:29:49 +01:00
parent 0eca737ea8
commit dbadcf5242
No known key found for this signature in database
GPG Key ID: CA7EE98D45A1132A
2 changed files with 5 additions and 4 deletions

View File

@ -3,13 +3,13 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
mktplcRef = { mktplcRef = {
name = "terraform"; name = "terraform";
publisher = "hashicorp"; publisher = "hashicorp";
version = "2.6.0"; version = "2.7.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}/terraform-${mktplcRef.version}.vsix"; url = "https://github.com/hashicorp/vscode-terraform/releases/download/v${mktplcRef.version}/terraform-${mktplcRef.version}.vsix";
sha256 = "1zg90x2asl6gakd2w8fn4imllqgrzdb1dn3728s63blmml42a1xp"; sha256 = "0lpsng7rd88ppjybmypzw42czr6swwin5cyl78v36z3wjwqx26xp";
}; };
patches = [ ./fix-terraform-ls.patch ]; patches = [ ./fix-terraform-ls.patch ];

View File

@ -1,8 +1,8 @@
diff --git a/out/extension.js b/out/extension.js diff --git a/out/extension.js b/out/extension.js
index 1de8aab..e2b3a3e 100644 index 375048c..fa5eff0 100644
--- a/out/extension.js --- a/out/extension.js
+++ b/out/extension.js +++ b/out/extension.js
@@ -204,19 +204,7 @@ function pathToBinary() { @@ -209,20 +209,7 @@ function pathToBinary() {
if (!_pathToBinaryPromise) { if (!_pathToBinaryPromise) {
let command = vscodeUtils_1.config('terraform').get('languageServer.pathToBinary'); let command = vscodeUtils_1.config('terraform').get('languageServer.pathToBinary');
if (!command) { // Skip install/upgrade if user has set custom binary path if (!command) { // Skip install/upgrade if user has set custom binary path
@ -13,6 +13,7 @@ index 1de8aab..e2b3a3e 100644
- } - }
- catch (err) { - catch (err) {
- vscode.window.showErrorMessage(err); - vscode.window.showErrorMessage(err);
- reporter.sendTelemetryException(err);
- throw err; - throw err;
- } - }
- finally { - finally {