mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
fix: seeder
This commit is contained in:
@@ -143,7 +143,11 @@ function up() {
|
||||
}
|
||||
}
|
||||
|
||||
const [cmd, ...extra] = process.argv.slice(2);
|
||||
const [cmd, ...rawExtra] = process.argv.slice(2);
|
||||
// `pnpm it:test -- src/foo.it.ts` hands us a literal "--" first. Forwarding it
|
||||
// makes vitest treat everything after it as CLI options and ignore the file
|
||||
// filter — the "one file" run silently becomes the whole suite.
|
||||
const extra = rawExtra[0] === "--" ? rawExtra.slice(1) : rawExtra;
|
||||
|
||||
switch (cmd) {
|
||||
case "up":
|
||||
|
||||
Reference in New Issue
Block a user