Skip to content

Commit

Permalink
Fix code style with gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mo1ein committed Sep 13, 2022
1 parent 5451f6c commit dcd49c5
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 dcd49c5

Please sign in to comment.