enable exclude-case-sensitive and fix one odd error that came up

This commit is contained in:
silverwind 2024-04-20 02:26:04 +02:00
parent c162f32289
commit 85a0a8cb67
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
2 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ issues:
max-issues-per-linter: 0
max-same-issues: 0
exclude-dirs: [node_modules, public, web_src]
exclude-case-sensitive: true
exclude-rules:
- path: _test\.go
linters: [gocyclo, errcheck, dupl, gosec, unparam, staticcheck]

View File

@ -465,7 +465,7 @@ func hookPrintResult(output, isCreate bool, branch, url string) {
fmt.Fprintf(os.Stderr, " %s\n", url)
}
fmt.Fprintln(os.Stderr, "")
os.Stderr.Sync()
_ = os.Stderr.Sync()
}
func pushOptions() map[string]string {