1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-19 19:25:24 +00:00

Update linter

This commit is contained in:
makeworld 2021-01-11 10:22:06 -05:00
parent 4aa774ef31
commit e44df10719
2 changed files with 3 additions and 3 deletions

View File

@ -24,6 +24,6 @@ jobs:
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.31
version: v1.35
# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true

View File

@ -374,9 +374,9 @@ func updateAll() {
defer wg.Done()
for j := range jobs {
if j[0] == "feed" {
updateFeed(j[1]) //nolint:errcheck
updateFeed(j[1])
} else if j[0] == "page" {
updatePage(j[1]) //nolint:errcheck
updatePage(j[1])
}
}
}