mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +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:
		@@ -213,9 +213,8 @@ func GetReviewByID(ctx context.Context, id int64) (*Review, error) {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	} else if !has {
 | 
			
		||||
		return nil, ErrReviewNotExist{ID: id}
 | 
			
		||||
	} else {
 | 
			
		||||
		return review, nil
 | 
			
		||||
	}
 | 
			
		||||
	return review, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// CreateReviewOptions represent the options to create a review. Type, Issue and Reviewer are required.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user