Sync eng/common directory with azure-sdk-tools for PR 9106 (#23555)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
This commit is contained in:
Родитель
7c2d3a77d4
Коммит
a74375761b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче