Sync eng/common directory with azure-sdk-tools for PR 9106 (#6082)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
This commit is contained in:
parent
9b4417e38f
commit
0e48f058d4
@ -41,8 +41,13 @@ if (!(Test-Path $ArtifactPath))
|
||||
$ArtifactPath = Resolve-Path $ArtifactPath
|
||||
$ArtifactName = Join-Path $ArtifactPath "diff.json"
|
||||
|
||||
$changedFiles = @()
|
||||
$changedServices = @()
|
||||
|
||||
$changedFiles = Get-ChangedFiles -DiffPath $TargetPath
|
||||
$changedServices = Get-ChangedServices -ChangedFiles $changedFiles
|
||||
if ($changedFiles) {
|
||||
$changedServices = Get-ChangedServices -ChangedFiles $changedFiles
|
||||
}
|
||||
|
||||
$result = [PSCustomObject]@{
|
||||
"ChangedFiles" = $changedFiles
|
||||
|
||||
Loading…
Reference in New Issue
Block a user