File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ XGO_VERSION := go-1.22.x
2828AIR_PACKAGE ?= github.com/cosmtrek/air@v1
2929EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@2.7.0
3030GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.6.0
31- GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2
31+ GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.0
3232GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.11
3333MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/misspell@v0.5.1
3434SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@db51e79a0e37c572d8b59ae0c58bf2bbbbe53285
Original file line number Diff line number Diff line change @@ -1061,7 +1061,7 @@ func readFileName(rd *strings.Reader) (string, bool) {
10611061 char , _ := rd .ReadByte ()
10621062 _ = rd .UnreadByte ()
10631063 if char == '"' {
1064- fmt .Fscanf (rd , "%q " , & name )
1064+ _ , _ = fmt .Fscanf (rd , "%q " , & name )
10651065 if len (name ) == 0 {
10661066 log .Error ("Reader has no file name: reader=%+v" , rd )
10671067 return "" , true
@@ -1073,12 +1073,12 @@ func readFileName(rd *strings.Reader) (string, bool) {
10731073 } else {
10741074 // This technique is potentially ambiguous it may not be possible to uniquely identify the filenames from the diff line alone
10751075 ambiguity = true
1076- fmt .Fscanf (rd , "%s " , & name )
1076+ _ , _ = fmt .Fscanf (rd , "%s " , & name )
10771077 char , _ := rd .ReadByte ()
10781078 _ = rd .UnreadByte ()
10791079 for ! (char == 0 || char == '"' || char == 'b' ) {
10801080 var suffix string
1081- fmt .Fscanf (rd , "%s " , & suffix )
1081+ _ , _ = fmt .Fscanf (rd , "%s " , & suffix )
10821082 name += " " + suffix
10831083 char , _ = rd .ReadByte ()
10841084 _ = rd .UnreadByte ()
You can’t perform that action at this time.
0 commit comments