Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Included additional log messages.
Browse files Browse the repository at this point in the history
Signed-off-by: naveensrinivasan <[email protected]>
  • Loading branch information
naveensrinivasan committed Jun 7, 2023
1 parent f113687 commit 1b37b90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ func GetDependencyDiff(owner, repo, token, base, head string) ([]DependencyDiff,
func GetGitHubDependencyDiff(owner, repo, token, base, head string) (*http.Response, error) {
req, err := http.NewRequest("GET",
fmt.Sprintf("https://api.github.com/repos/%s/%s/dependency-graph/compare/%s...%s", owner, repo, base, head), nil)
log.Println(req.URL.String())
if err != nil {
return nil, fmt.Errorf("failed to create request: %w", err)
// handle err
Expand Down

0 comments on commit 1b37b90

Please sign in to comment.