Skip to content

Commit c497643

Browse files
committed
Fix PowerShell variable syntax in Write-Host statement
1 parent 07a6339 commit c497643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/devops/automation/scripts/GitHub.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ mutation {
710710
$latestCommit = $prInfo.head.sha
711711

712712
Write-Host "Current commit: $($this.Hash)"
713-
Write-Host "Latest commit in PR #$prId: $latestCommit"
713+
Write-Host "Latest commit in PR #${prId}: $latestCommit"
714714

715715
return $this.Hash -eq $latestCommit
716716
} catch {

0 commit comments

Comments
 (0)