mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Add npm script "update-test-repos" to recreate the test-repos directory and freshen the corresponding snapshots.
This commit is contained in:
parent
465fc448eb
commit
b4204f197e
4 changed files with 2 additions and 2 deletions
|
@ -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}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue