Skip to content

Commit

Permalink
Log std out on git ls-remote call
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed May 1, 2023
1 parent 5ea91ce commit 730bd69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/change_detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ func getLatestCommit(repoName string, branchName string) string {
cmd := exec.Command("git", "ls-remote", repoName, "refs/heads/"+branchName)
result, err := cmd.Output()
if err != nil {
log.ErrorE(context.TODO(), string(result), err)
panic(err)
}

Expand Down

0 comments on commit 730bd69

Please sign in to comment.