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:
parent
2227c7afb5
commit
d554af189b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue