fix(e2e): parse prepared bundle arguments

This commit is contained in:
Dotta 2026-09-04 13:38:00 -05:00
parent e5857b602e
commit a4be68bae0
1 changed files with 3 additions and 1 deletions

View File

@ -481,7 +481,9 @@ export async function preparePublicHistoryBundle(input: {
}
async function main() {
const [source, destination] = process.argv.slice(2);
const [source, destination] = process.argv
.slice(2)
.filter((argument) => argument !== "--");
if (!source || !destination) {
throw new Error(
"Usage: history-public-bundle.ts <private-report-directory> <public-report-directory>",