fix: accept pnpm release verifier arguments

This commit is contained in:
2026-08-24 13:48:46 +08:00
parent 8820e82530
commit 13efe84d42
3 changed files with 8 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ export function parsePiArtifactVerifierArgs(argv, projectRoot = process.cwd()) {
index += 1;
return value;
};
if (argument === '--') continue;
if (argument === '--app-exe') options.executable = resolve(next());
else if (argument === '--report') options.reportPath = resolve(next());
else if (argument === '--samples') options.samples = Number.parseInt(next(), 10);