Skip to content

Commit

Permalink
Remove naked return so it's clearer
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Zbitskiy <[email protected]>
  • Loading branch information
onetechnical and algorandskiy authored Jul 24, 2024
1 parent c72ad64 commit ebb1b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/s3/s3Helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (helper *Helper) GetPackageVersion(channel string, pkg string, specificVers
return universalMaxVersion, universalMaxVersionName, universalErr

Check warning on line 199 in util/s3/s3Helper.go

View check run for this annotation

Codecov / codecov/patch

util/s3/s3Helper.go#L195-L199

Added lines #L195 - L199 were not covered by tests
}
}
return
return maxVersion, maxVersionName, err

Check warning on line 202 in util/s3/s3Helper.go

View check run for this annotation

Codecov / codecov/patch

util/s3/s3Helper.go#L202

Added line #L202 was not covered by tests
}

// GetPackageFilesVersion return the package version
Expand Down

0 comments on commit ebb1b5c

Please sign in to comment.