From ebb1b5c83b513e97876a3365a9b177abb9b9bdac Mon Sep 17 00:00:00 2001 From: John Lee Date: Wed, 24 Jul 2024 10:41:50 -0400 Subject: [PATCH] Remove naked return so it's clearer Co-authored-by: Pavel Zbitskiy <65323360+algorandskiy@users.noreply.github.com> --- util/s3/s3Helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/s3/s3Helper.go b/util/s3/s3Helper.go index 7bdc1fb863..79396e7ced 100644 --- a/util/s3/s3Helper.go +++ b/util/s3/s3Helper.go @@ -199,7 +199,7 @@ func (helper *Helper) GetPackageVersion(channel string, pkg string, specificVers return universalMaxVersion, universalMaxVersionName, universalErr } } - return + return maxVersion, maxVersionName, err } // GetPackageFilesVersion return the package version