Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Display default config similar to regular config
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Sep 1, 2019
1 parent 8dfaae8 commit 098a262
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions get-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = function getConfig() {
if (e.code == 'MODULE_NOT_FOUND') {
console.warn(`[WARNING] Didn't find config at ${configPath}, using default shell config`);
const defaultConfig = require('./blank_project/src/config')(process.env.NODE_ENV || 'development');
console.log(defaultConfig);
return defaultConfig;
}
throw e;
Expand Down

0 comments on commit 098a262

Please sign in to comment.