Allow 'staging' as an env name for non-clustered run
This commit is contained in:
parent
7f9463e7fd
commit
1c9179eeec
4
app.js
4
app.js
@ -13,9 +13,9 @@ var _ = require('underscore');
|
||||
|
||||
// sanity check arguments
|
||||
var ENV = process.argv[2];
|
||||
if (ENV != 'development' && ENV != 'production' && ENV != 'test') {
|
||||
if (ENV != 'development' && ENV != 'production' && ENV != 'test' && ENV != 'staging' ) {
|
||||
console.error("\n./app [environment]");
|
||||
console.error("environments: [development, test, production]");
|
||||
console.error("environments: [development, staging, production, test]");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user