Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
mo1ein committed Sep 13, 2022
1 parent 0163c44 commit 5451f6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions github/actions_artifacts.go
Expand Up @@ -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
}
Expand Down

0 comments on commit 5451f6c

Please sign in to comment.