fix: add back missing option
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:
Sam Therapy 2022-10-12 03:12:17 +02:00
parent a1b5e6d3c9
commit a8e5767cc1
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

4
run.ts
View file

@ -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);
}