Skip to content

Commit

Permalink
chore: fixed travis ci errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Mar 2, 2017
1 parent 1a8f976 commit f21736b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/lib/ios/associatedDomains.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
function addAssociatedDomains (preferences) {
console.log('BRANCH SDK: Updating iOS associated domains')

var files = getEntitlementFiles()
var files = getEntitlementFiles(preferences)
for (var i = 0; i < files.length; i++) {
var file = files[i]
var entitlements = getEntitlements(file)
Expand All @@ -28,7 +28,7 @@
}

// get the xcode .entitlements and provisioning profile .plist
function getEntitlementFiles() {
function getEntitlementFiles (preferences) {
var files = []
var entitlements = path.join(preferences.projectRoot, 'platforms', 'ios', preferences.bundleName, 'Resources', preferences.bundleName + '.entitlements')
files.push(entitlements)
Expand Down

0 comments on commit f21736b

Please sign in to comment.