Skip to content

Commit 2245f7c

Browse files
feat: Copy-OpenPackage ( Fixes #7 )
Fixing variable check
1 parent 8898a35 commit 2245f7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Commands/Copy-OpenPackage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function Copy-OpenPackage
118118
{
119119
# this will create intermediate paths.
120120
$packageFile = New-Item -ItemType File -Path $unresolvedDestination -Force
121-
if (-not $newFile) { return }
121+
if (-not $packageFile) { return }
122122
} elseif ($Merge) {
123123
$packageFile = Get-Item -ItemType File -Path $unresolvedDestination
124124
}

0 commit comments

Comments
 (0)