Add npm script "update-test-repos" to recreate the test-repos directory and freshen the corresponding snapshots.

This commit is contained in:
David Anson 2025-03-31 00:12:24 +00:00
parent 465fc448eb
commit b4204f197e
4 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ if (command === "copy") {
)
);
} else if (command === "remove") {
await Promise.all(args.map((dir) => rm(dir, { "recursive": true })));
await Promise.all(args.map((dir) => rm(dir, { "force": true, "recursive": true })));
} else {
throw new Error(`Unsupported command: ${command}`);
}