Skip to content

Commit 133add8

Browse files
author
Sandro Santilli
committed
Allow using "test" as and environment name
1 parent c5b2534 commit 133add8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var _ = require('underscore');
1313

1414
// sanity check arguments
1515
var ENV = process.argv[2];
16-
if (ENV != 'development' && ENV != 'production') {
16+
if (ENV != 'development' && ENV != 'production' && ENV != 'test') {
1717
console.error("\n./app [environment]");
1818
console.error("environments: [development, test, production]");
1919
process.exit(1);

0 commit comments

Comments
 (0)