Skip to content

Commit

Permalink
return clone error
Browse files Browse the repository at this point in the history
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
  • Loading branch information
somtochiama authored and hiddeco committed Jun 1, 2023
1 parent fb3013c commit 0337362
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/azure/util_test.go
Expand Up @@ -318,6 +318,9 @@ func getRepository(repoURL, branchName string, overrideBranch bool, password str
Branch: checkoutBranch,
},
})
if err != nil {
return nil, "", err
}

err = c.SwitchBranch(context.Background(), branchName)
if err != nil {
Expand Down

0 comments on commit 0337362

Please sign in to comment.