appcenter-link-scripts
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "appcenter-link-scripts", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Node module that contains common functionality needed to link appcenter-* modules", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -82,9 +82,14 @@ const fs = require('fs'); | ||
} | ||
const podFile = new PodFile(PodFile.searchForFile(path.resolve(path.dirname(appDelegatePath), '..'))); | ||
pods.forEach((pod) => { | ||
podFile.addPodLine(pod.pod, pod.podspec, pod.version); | ||
}); | ||
podFile.eraseOldLines(); | ||
podFile.save(); | ||
return podFile.install(); | ||
try { | ||
const podFile = new PodFile(PodFile.searchForFile(path.resolve(path.dirname(appDelegatePath), '..'))); | ||
pods.forEach((pod) => { | ||
podFile.addPodLine(pod.pod, pod.podspec, pod.version); | ||
}); | ||
podFile.eraseOldLines(); | ||
podFile.save(); | ||
return Promise.resolve(podFile.install()); | ||
} catch (e) { | ||
debug('Could not add pod dependencies', e); | ||
return Promise.reject(e); | ||
} | ||
} | ||
@@ -91,0 +96,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19847
431