mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 18:17:19 +00:00
enable staticcheck QFxxxx rules (#34064)
This commit is contained in:
@ -462,11 +462,12 @@ func findAllIssueReferencesBytes(content []byte, links []string) []*rawReference
|
||||
continue
|
||||
}
|
||||
var sep string
|
||||
if parts[3] == "issues" {
|
||||
switch parts[3] {
|
||||
case "issues":
|
||||
sep = "#"
|
||||
} else if parts[3] == "pulls" {
|
||||
case "pulls":
|
||||
sep = "!"
|
||||
} else {
|
||||
default:
|
||||
continue
|
||||
}
|
||||
// Note: closing/reopening keywords not supported with URLs
|
||||
|
Reference in New Issue
Block a user