From d554af189b168dcd82a80f7297b4d3f11e9dcf16 Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Thu, 16 Jun 2016 09:12:33 -0700 Subject: [PATCH] undefined check for intercom --- app/config/environment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/environment.js b/app/config/environment.js index 0d771217..000cbbfd 100644 --- a/app/config/environment.js +++ b/app/config/environment.js @@ -35,8 +35,8 @@ module.exports = function(environment) { } }; - process.argv.forEach(function(element){ - if (element !== 'undefined') { + process.argv.forEach(function(element) { + if (element !== undefined) { if (element.startsWith("intercom=")) { element = element.replace("intercom=", ""); ENV.APP.intercomKey = element;