mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Update golangci-lint to version 1.31.0 (#13102)
This PR updates golangci-lint to the latest version 1.31.0. The upgrade introduced a new check for which I've fixed or disabled most cases. Signed-off-by: kolaente <k@knt.li>
This commit is contained in:
		@@ -69,7 +69,7 @@ func functionName(programCounter uintptr) []byte {
 | 
			
		||||
		name = name[period+1:]
 | 
			
		||||
	}
 | 
			
		||||
	// And we should just replace the interpunct with a dot
 | 
			
		||||
	name = bytes.Replace(name, []byte("·"), []byte("."), -1)
 | 
			
		||||
	name = bytes.ReplaceAll(name, []byte("·"), []byte("."))
 | 
			
		||||
	return name
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user