From 1c9179eeec60be5ab8c2dda30b66e2280e8e0518 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 29 May 2013 17:09:20 +0200 Subject: [PATCH] Allow 'staging' as an env name for non-clustered run --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 96c37f49..9b9db8ab 100755 --- a/app.js +++ b/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); }