Skip to content

Commit

Permalink
update validate script
Browse files Browse the repository at this point in the history
  • Loading branch information
kodenamekrak committed Apr 8, 2024
1 parent a5f85ae commit e423597
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/validate-modjson.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
$mod = "./mod.json"

if (-not (Test-Path -Path $mod)) {
if (Test-Path -Path ".\mod.template.json") {
& qpm qmod build
if (Test-Path manifest) {
if ($LASTEXITCODE -ne 0) {
exit $LASTEXITCODE
}
Expand Down

0 comments on commit e423597

Please sign in to comment.