fix: add back missing option
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
doh Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
a1b5e6d3c9
commit
a8e5767cc1
1 changed files with 2 additions and 2 deletions
4
run.ts
4
run.ts
|
@ -41,7 +41,7 @@ if (env["PLUGIN_NO_STATIC"]) {
|
|||
flags.push(`--no-static`);
|
||||
}
|
||||
|
||||
if (env["PLUGIN_PROD"]) {
|
||||
if (env["PLUGIN_PROD"] || env["PLUGIN_PRODUCTION"]) {
|
||||
flags.push(`--prod`);
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@ const err = new TextDecoder().decode(stderr);
|
|||
console.log(std);
|
||||
|
||||
if (!status.success) {
|
||||
console.error("Deno Deploy failed!")
|
||||
console.error("Deno Deploy failed!");
|
||||
console.log(err);
|
||||
Deno.exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue