diff --git a/tests/runner-e2e/history-public-bundle.ts b/tests/runner-e2e/history-public-bundle.ts index b8a5ef0db9..ae05da7538 100644 --- a/tests/runner-e2e/history-public-bundle.ts +++ b/tests/runner-e2e/history-public-bundle.ts @@ -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 ",