Skip to content

Commit 5cb334d

Browse files
committed
src/goToolsInformation: pin gofumports at v0.1.1
gofumports is deprecated and v0.1.1 is the latest version of its module that contains the tool. Pin at v0.1.0 instead of using latest. Fixes #1934 Change-Id: If0e28da3d1d0b025e30436483978be34079781db Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/370474 Trust: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Robert Findley <[email protected]> TryBot-Result: kokoro <[email protected]>
1 parent 511945e commit 5cb334d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/goToolsInformation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ export const allToolsInformation: { [key: string]: Tool } = {
117117
modulePath: 'mvdan.cc/gofumpt',
118118
replacedByGopls: true,
119119
isImportant: false,
120-
description: 'Formatter'
120+
description: 'Formatter',
121+
defaultVersion: 'v0.1.1'
121122
},
122123
'gofumpt': {
123124
name: 'gofumpt',

tools/allTools.ts.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ export const allToolsInformation: { [key: string]: Tool } = {
115115
modulePath: 'mvdan.cc/gofumpt',
116116
replacedByGopls: true,
117117
isImportant: false,
118-
description: 'Formatter'
118+
description: 'Formatter',
119+
defaultVersion: 'v0.1.1'
119120
},
120121
'gofumpt': {
121122
name: 'gofumpt',
@@ -242,4 +243,4 @@ export const allToolsInformation: { [key: string]: Tool } = {
242243
isImportant: false,
243244
description: 'Extract to functions and variables'
244245
}
245-
};
246+
};

0 commit comments

Comments
 (0)