Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 9106 (#6082)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
  • Loading branch information
azure-sdk and scbedd authored Oct 8, 2024
1 parent 9b4417e commit 0e48f05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion eng/common/scripts/Generate-PR-Diff.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e48f05

Please sign in to comment.