From e423597c133d5945538306429043e26207b8b254 Mon Sep 17 00:00:00 2001 From: kodenamekrak Date: Mon, 8 Apr 2024 23:51:18 +0100 Subject: [PATCH] update validate script --- scripts/validate-modjson.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/validate-modjson.ps1 b/scripts/validate-modjson.ps1 index f294752..0d30b2e 100644 --- a/scripts/validate-modjson.ps1 +++ b/scripts/validate-modjson.ps1 @@ -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 }