This commit is contained in:
Eury Sosa Garcia 2026-01-30 08:26:36 -04:00 committed by GitHub
commit 5728601c48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,16 +102,24 @@ if (!runner) {
process.exit(1);
}
const script =
action === "install"
? null
: action === "dev"
? "dev"
: action === "build"
? "build"
: action === "test"
? "test"
: null;
let script = null
switch(action) {
case "install":
script = "install"
break;
case "dev":
script = "dev"
break;
case "build":
script = "build"
break;
case "test":
script = "test"
break;
default:
script = null
}
if (action !== "install" && !script) {
usage();