Skip to content

Commit

Permalink
Merge pull request #1081 from wader/bump-github-golangci-lint-1.64.5
Browse files Browse the repository at this point in the history
Update github-golangci-lint to 1.64.5 from 1.64.4
  • Loading branch information
wader authored Feb 14, 2025
2 parents 551c900 + 1a3232f commit 7431cbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

env:
GOLANGCILINT_VERSION: "1.64.4"
GOLANGCILINT_VERSION: "1.64.5"

jobs:
lint:
Expand Down
3 changes: 2 additions & 1 deletion format/xml/xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ func toXMLFromObject(c any, opts ToXMLOpts) any {
switch {
case k == "#seq":
hasSeq = true
seq, _ = strconv.Atoi(v.(string))
s, _ := v.(string)
seq, _ = strconv.Atoi(s)
case k == "#text":
s, _ := v.(string)
n.Chardata = []byte(s)
Expand Down

0 comments on commit 7431cbc

Please sign in to comment.