Skip to content

Commit f17954c

Browse files
authored
chore: test schema path (#6509)
1 parent a2e5e9f commit f17954c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-server-core/src/core/DevServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ export class DevServer {
510510
envs = dotenv.parse(fs.readFileSync(envPath));
511511
}
512512

513-
const schemaPath = envs.CUBEJS_SCHEMA_PATH || 'model';
513+
const schemaPath = envs.CUBEJS_SCHEMA_PATH || process.env.CUBEJS_SCHEMA_PATH || 'model';
514514

515515
variables.CUBEJS_EXTERNAL_DEFAULT = 'true';
516516
variables.CUBEJS_SCHEDULED_REFRESH_DEFAULT = 'true';

0 commit comments

Comments
 (0)