Skip to content

Commit

Permalink
fix(cubejs-cli): deploy --upload-env - filter CUBEJS_DEV_MODE
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Dec 9, 2020
1 parent 2194603 commit 81a835f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cubejs-cli/src/config.ts
Expand Up @@ -46,6 +46,10 @@ export class Config {
if (await fs.pathExists(envFile)) {
const env = dotenv.config({ path: envFile }).parsed;
if (env) {
if ('CUBEJS_DEV_MODE' in env) {
delete env.CUBEJS_DEV_MODE;
}

const resolvePossibleFiles = [
'CUBEJS_DB_SSL_CA',
'CUBEJS_DB_SSL_CERT',
Expand Down

0 comments on commit 81a835f

Please sign in to comment.