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