Github user audreyso commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/518#discussion_r102099272 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -412,15 +412,26 @@ function determinePluginTarget(projectRoot, cfg, target, fetchOptions) { // If parsedSpec.version satisfies pkgJson version, no writing to pkg.json. Only write when // it does not satisfy. + if(parsedSpec.version) { if(pkgJson && pkgJson.dependencies && pkgJson.dependencies[parsedSpec.package]) { - var noSymbolVersion; + var noSymbolVersion = parsedSpec.version; if (parsedSpec.version.charAt(0) === '^' || parsedSpec.version.charAt(0) === '~') { noSymbolVersion = parsedSpec.version.slice(1); } - if (!semver.satisfies(noSymbolVersion, pkgJson.dependencies[parsedSpec.package])) { + + if(cordova_util.isUrl(parsedSpec.version) || cordova_util.isDirectory(parsedSpec.version)) { --- End diff -- How does this look (lines 423- 437)? @stevengill
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org