We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3453297 commit 6fd4c22Copy full SHA for 6fd4c22
1 file changed
tools/Install-NuGetPackage.ps1
@@ -57,7 +57,7 @@ $nugetArgs += '-Verbosity',$Verbosity
57
if ($PSCmdlet.ShouldProcess($PackageId, 'nuget install')) {
58
$p = Start-Process $nugetPath $nugetArgs -NoNewWindow -Wait -PassThru
59
if ($null -ne $p.ExitCode -and $p.ExitCode -ne 0) {
60
- throw "NuGet install failed for package '$PackageId' (version '$requestedVersion') with exit code $exitCode."
+ throw "NuGet install failed for package '$PackageId' (version '$Version') with exit code $($p.ExitCode)."
61
}
62
63
0 commit comments