mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fixed linting errors for variable definitions
This commit is contained in:
		@@ -68,7 +68,7 @@ func (repo *Repository) AddCollaborator(u *User) error {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (repo *Repository) getCollaborations(e Engine) ([]*Collaboration, error) {
 | 
			
		||||
	collaborations := make([]*Collaboration, 0)
 | 
			
		||||
	var collaborations []*Collaboration
 | 
			
		||||
	return collaborations, e.Find(&collaborations, &Collaboration{RepoID: repo.ID})
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user