1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-07 22:45:24 +02:00

undefined check for intercom

This commit is contained in:
Harvey Kandola 2016-06-16 09:12:33 -07:00
parent 2227c7afb5
commit d554af189b

View file

@ -35,8 +35,8 @@ module.exports = function(environment) {
} }
}; };
process.argv.forEach(function(element){ process.argv.forEach(function(element) {
if (element !== 'undefined') { if (element !== undefined) {
if (element.startsWith("intercom=")) { if (element.startsWith("intercom=")) {
element = element.replace("intercom=", ""); element = element.replace("intercom=", "");
ENV.APP.intercomKey = element; ENV.APP.intercomKey = element;