diff options
author | silverwind <me@silverwind.io> | 2023-10-24 04:54:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 02:54:59 +0000 |
commit | ce83609ff636f4c09d91ac53bee75a350bb571d6 (patch) | |
tree | 3ddbab3c0de4fe4249352eb52dbe35dc966e3f9e /services/repository | |
parent | def907de7b3cda899846d55f99b0da2640a5274b (diff) | |
download | gitea-ce83609ff636f4c09d91ac53bee75a350bb571d6.tar.gz gitea-ce83609ff636f4c09d91ac53bee75a350bb571d6.zip |
Upgrade to golangci-lint@v1.55.0 (#27756)
https://github.com/golangci/golangci-lint/releases/tag/v1.55.0
Diffstat (limited to 'services/repository')
-rw-r--r-- | services/repository/files/temp_repo.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/repository/files/temp_repo.go b/services/repository/files/temp_repo.go index 50c76970fd..be13b2016a 100644 --- a/services/repository/files/temp_repo.go +++ b/services/repository/files/temp_repo.go @@ -65,9 +65,8 @@ func (t *TemporaryUploadRepository) Clone(branch string) error { OwnerName: t.repo.OwnerName, Name: t.repo.Name, } - } else { - return fmt.Errorf("Clone: %w %s", err, stderr) } + return fmt.Errorf("Clone: %w %s", err, stderr) } gitRepo, err := git.OpenRepository(t.ctx, t.basePath) if err != nil { |