Skip to content

Commit

Permalink
Update repository.go
Browse files Browse the repository at this point in the history
fix: Clone of Azure devops git repo not working with private repositories

Refs: zarf-dev#2994
Signed-off-by: ittacco <[email protected]>
  • Loading branch information
ittacco committed Oct 18, 2024
1 parent 09bdbe1 commit 4e0605a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/internal/git/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ func Clone(ctx context.Context, rootPath, address string, shallow bool) (*Reposi
err := r.gitCloneFallback(ctx, gitURLNoRef, ref, shallow)
if err != nil {
return nil, err
} else {
return r, nil
}
}

Expand Down

0 comments on commit 4e0605a

Please sign in to comment.