Skip to content

Commit 6fd4c22

Browse files
committed
Fix references to undefined variables
1 parent 3453297 commit 6fd4c22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/Install-NuGetPackage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $nugetArgs += '-Verbosity',$Verbosity
5757
if ($PSCmdlet.ShouldProcess($PackageId, 'nuget install')) {
5858
$p = Start-Process $nugetPath $nugetArgs -NoNewWindow -Wait -PassThru
5959
if ($null -ne $p.ExitCode -and $p.ExitCode -ne 0) {
60-
throw "NuGet install failed for package '$PackageId' (version '$requestedVersion') with exit code $exitCode."
60+
throw "NuGet install failed for package '$PackageId' (version '$Version') with exit code $($p.ExitCode)."
6161
}
6262
}
6363

0 commit comments

Comments
 (0)