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
28
28
AIR_PACKAGE ?= github.com/cosmtrek/air@v1
29
29
EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@2.7.0
30
30
GOFUMPT_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
32
32
GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.11
33
33
MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/misspell@v0.5.1
34
34
SWAGGER_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) {
1061
1061
char , _ := rd .ReadByte ()
1062
1062
_ = rd .UnreadByte ()
1063
1063
if char == '"' {
1064
- fmt .Fscanf (rd , "%q " , & name )
1064
+ _ , _ = fmt .Fscanf (rd , "%q " , & name )
1065
1065
if len (name ) == 0 {
1066
1066
log .Error ("Reader has no file name: reader=%+v" , rd )
1067
1067
return "" , true
@@ -1073,12 +1073,12 @@ func readFileName(rd *strings.Reader) (string, bool) {
1073
1073
} else {
1074
1074
// This technique is potentially ambiguous it may not be possible to uniquely identify the filenames from the diff line alone
1075
1075
ambiguity = true
1076
- fmt .Fscanf (rd , "%s " , & name )
1076
+ _ , _ = fmt .Fscanf (rd , "%s " , & name )
1077
1077
char , _ := rd .ReadByte ()
1078
1078
_ = rd .UnreadByte ()
1079
1079
for ! (char == 0 || char == '"' || char == 'b' ) {
1080
1080
var suffix string
1081
- fmt .Fscanf (rd , "%s " , & suffix )
1081
+ _ , _ = fmt .Fscanf (rd , "%s " , & suffix )
1082
1082
name += " " + suffix
1083
1083
char , _ = rd .ReadByte ()
1084
1084
_ = rd .UnreadByte ()
You can’t perform that action at this time.
0 commit comments