update sparse checkout path (#4558)
Co-authored-by: chunyu3 <chunyu@microsoft.com>
This commit is contained in:
parent
ae4648cfde
commit
fbf20bf8b9
@ -105,8 +105,8 @@ if ( $configuration["repo"] -and $configuration["commit"]) {
|
||||
try {
|
||||
if (!(Test-Path ".git")) {
|
||||
InitializeSparseGitClone $gitRemoteValue
|
||||
UpdateSparseCheckoutFile $specSubDirectory $configuration["additionalDirectories"]
|
||||
}
|
||||
UpdateSparseCheckoutFile $specSubDirectory $configuration["additionalDirectories"]
|
||||
git checkout $configuration["commit"]
|
||||
if ($LASTEXITCODE) { exit $LASTEXITCODE }
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user