Skip to content

Commit

Permalink
fix: error on blank state of associated domains
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Feb 9, 2017
1 parent fcf43b7 commit ecc03e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/lib/ios/associatedDomains.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
// removed previous associated domains related to Branch (will not remove link domain changes from custom domains or custom sub domains)
function removePreviousAssociatedDomains (domains) {
var output = []
if (!domains) return output
for (var i = 0; i < domains.length; i++) {
var domain = domains[i]
if (domain.indexOf('bnc.lt') > 0 || domain.indexOf('app.link') > 0) continue
Expand Down

0 comments on commit ecc03e8

Please sign in to comment.