Skip to content

Commit a8632c4

Browse files
committed
Merge pull request #45 from mmcquillan/master
fixing check for puppetversion input
2 parents 56e0be6 + 17f2578 commit a8632c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ param(
2525
,[string]$PuppetVersion = $null
2626
)
2727

28-
if ($PuppetVersion -ne $null) {
28+
if ($PuppetVersion) {
2929
$MsiUrl = "https://downloads.puppetlabs.com/windows/puppet-$($PuppetVersion).msi"
3030
Write-Host "Puppet version $PuppetVersion specified, updated MsiUrl to `"$MsiUrl`""
3131
}

0 commit comments

Comments
 (0)