We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 206e320 commit 2e1ee09Copy full SHA for 2e1ee09
1 file changed
internal/functions/Install-NugetPackage.ps1
@@ -84,7 +84,7 @@ function Install-NugetPackage {
84
}
85
$path = Join-PSFPath $scopePath "$packageName.$selectedVersion"
86
$packagePath = Join-PSFPath $path $fileName
87
- if ($PSCmdlet.ShouldProcess($fileName, "Download package")) {
+ if ($PSCmdlet.ShouldProcess([string]$fileName, "Download package")) {
88
if (Test-Path $path) {
89
if ($Force) {
90
Remove-Item $path -Recurse -Force
0 commit comments