mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
fix(e2e): parse prepared bundle arguments
This commit is contained in:
1 parent
e5857b602e
commit
a4be68bae0
1 file changed
+3
-1
@@ -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>",
|
||||
|
||||
Reference in new issue
Block a user