Allow using "test" as and environment name
This commit is contained in:
parent
c5b2534687
commit
133add8741
2
app.js
2
app.js
@ -13,7 +13,7 @@ var _ = require('underscore');
|
||||
|
||||
// sanity check arguments
|
||||
var ENV = process.argv[2];
|
||||
if (ENV != 'development' && ENV != 'production') {
|
||||
if (ENV != 'development' && ENV != 'production' && ENV != 'test') {
|
||||
console.error("\n./app [environment]");
|
||||
console.error("environments: [development, test, production]");
|
||||
process.exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user