Skip to content

Commit

Permalink
Update pkgexist.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
zeusongit committed Jun 14, 2024
1 parent 33302dd commit 2d40759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkgexist.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$pkgname=$args[0]
$pkgver=$args[1]

If (-Not (Test-Path .\Packages\$pkgname)) {
If ((-Not (Test-Path .\Packages\$pkgname)) -Or (-Not (Test-Path .\Packages\$pkgname\package.json))) {
echo true
return
}
Expand Down

0 comments on commit 2d40759

Please sign in to comment.