From dcd49c5686cb6469d04b3a5377ab2a9a0dbfd6c7 Mon Sep 17 00:00:00 2001 From: mo1ein Date: Tue, 13 Sep 2022 21:00:33 +0430 Subject: [PATCH] Fix code style with gofmt --- github/actions_artifacts.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/github/actions_artifacts.go b/github/actions_artifacts.go index 370bedf53c..3350e40e65 100644 --- a/github/actions_artifacts.go +++ b/github/actions_artifacts.go @@ -121,9 +121,9 @@ func (s *ActionsService) DownloadArtifact(ctx context.Context, owner, repo strin } parsedURL, err := url.Parse(resp.Header.Get("Location")) - if err != nil { - return nil, nil, err - } + if err != nil { + return nil, nil, err + } return parsedURL, newResponse(resp), nil }