mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Upgrade to golangci-lint@v1.55.0 (#27756)
https://github.com/golangci/golangci-lint/releases/tag/v1.55.0
This commit is contained in:
		@@ -101,9 +101,8 @@ func getRefURL(refURL, urlPrefix, repoFullName, sshDomain string) string {
 | 
			
		||||
				return ref.Scheme + "://" + ref.Host + ref.Path
 | 
			
		||||
			} else if urlPrefixHostname == refHostname || refHostname == sshDomain {
 | 
			
		||||
				return urlPrefix + path.Clean(path.Join("/", ref.Path))
 | 
			
		||||
			} else {
 | 
			
		||||
				return "http://" + refHostname + ref.Path
 | 
			
		||||
			}
 | 
			
		||||
			return "http://" + refHostname + ref.Path
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user