Skip to content

Commit

Permalink
Update generate_setup_script.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
tcartwright authored Sep 4, 2021
1 parent 55e3e96 commit 7026259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate_setup_script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function InstallPackage($packageName, $dllName, $folderMatch = "lib\\net\d{1,4}"
}

$package = Get-Package $packageName -ErrorAction SilentlyContinue
if (-not $package -or $force.IsPresent) {
if (-not $package) {
if ($isAdmin) {
Write-Host "Installing module: $packageName"
Install-Package -Name $packageName -Force:$force.IsPresent -Source $source -SkipDependencies:$SkipDependencies.IsPresent
Expand Down

0 comments on commit 7026259

Please sign in to comment.