mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Use fmt.Sprintf correctly (#17886)
This commit is contained in:
		@@ -350,7 +350,7 @@ func (pr *PullRequest) GetDefaultSquashMessage() string {
 | 
			
		||||
 | 
			
		||||
// GetGitRefName returns git ref for hidden pull request branch
 | 
			
		||||
func (pr *PullRequest) GetGitRefName() string {
 | 
			
		||||
	return fmt.Sprintf(git.PullPrefix+"%d/head", pr.Index)
 | 
			
		||||
	return fmt.Sprintf("%s%d/head", git.PullPrefix, pr.Index)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// IsChecking returns true if this pull request is still checking conflict.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user