Skip to content
Snippets Groups Projects
Commit 4f996d8b authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

show config shows local config if nothing else is specified

parent e7e31d88
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env node #!/usr/bin/env node
var path = require('path');
// use the 'local' configuration if one isn't explicitly specified in the environment
process.env['CONFIG_FILES'] = process.env['CONFIG_FILES'] ||
path.join(__dirname, '..', 'config', 'local.json');
console.log(require("../lib/configuration.js").toString()); console.log(require("../lib/configuration.js").toString());
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment