mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 20:17:21 +00:00
enable staticcheck QFxxxx rules (#34064)
This commit is contained in:
@ -107,11 +107,12 @@ func (r *stripRenderer) processAutoLink(w io.Writer, link []byte) {
|
||||
}
|
||||
|
||||
var sep string
|
||||
if parts[3] == "issues" {
|
||||
switch parts[3] {
|
||||
case "issues":
|
||||
sep = "#"
|
||||
} else if parts[3] == "pulls" {
|
||||
case "pulls":
|
||||
sep = "!"
|
||||
} else {
|
||||
default:
|
||||
// Process out of band
|
||||
r.links = append(r.links, linkStr)
|
||||
return
|
||||
|
Reference in New Issue
Block a user