We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d7b05 commit 5b4eacbCopy full SHA for 5b4eacb
src/cli/commands/deploy.ts
@@ -269,7 +269,7 @@ export async function deploy(options: SWACLIConfig) {
269
270
// set the DEPLOYMENT_ENVIRONMENT env variable only when the user has provided
271
// a deployment environment which is not "production".
272
- if (options.env !== "production" && options.env !== "prod") {
+ if (options.env?.toLowerCase() !== "production" && options.env?.toLowerCase() !== "prod") {
273
deployClientEnv.DEPLOYMENT_ENVIRONMENT = options.env;
274
}
275
0 commit comments