appcenter-link-scripts
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "appcenter-link-scripts", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Node module that contains common functionality needed to link appcenter-* modules", | ||
@@ -38,4 +38,4 @@ "main": "src/index.js", | ||
"scripts": { | ||
"lint": "eslint ." | ||
"lint": "./node_modules/.bin/eslint ." | ||
} | ||
} |
@@ -48,4 +48,3 @@ const fs = require('fs'); | ||
Looked in paths - | ||
${JSON.stringify(projectPaths)}` | ||
)); | ||
${JSON.stringify(projectPaths)}`)); | ||
return; | ||
@@ -52,0 +51,0 @@ } |
@@ -76,5 +76,2 @@ const fs = require('fs'); | ||
addPodDeps(pods) { | ||
if (process.platform !== 'darwin') { | ||
return Promise.reject(new Error('Since you are not running on a Mac, CocoaPods installation steps will be skipped.')); | ||
} | ||
if (!PodFile.isCocoaPodsInstalled()) { | ||
@@ -103,4 +100,5 @@ return Promise.reject(new Error('Could not find "pod" command. Is CocoaPods installed?')); | ||
const appNameLower = appName.toLowerCase(); | ||
for (let i = 0; i < array.length; i++) { | ||
if (array[i] && array[i].indexOf(appName) !== -1) { | ||
if (array[i] && array[i].toLowerCase().indexOf(appNameLower) !== -1) { | ||
return array[i]; | ||
@@ -107,0 +105,0 @@ } |
@@ -42,4 +42,3 @@ const fs = require('fs'); | ||
if (patterns === null) { | ||
throw new Error( | ||
` | ||
throw new Error(` | ||
Error: Could not find a "# Pods for" comment in your Podfile. Please add a "# Pods for AppCenter" line | ||
@@ -46,0 +45,0 @@ in ${this.file}, inside |
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
19730
427