Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 9106 (#1908)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Beddall <[email protected]>
  • Loading branch information
azure-sdk and scbedd authored Oct 8, 2024
1 parent 99bbbab commit 14462c5
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 14462c5

Please sign in to comment.