Updated Branches: refs/heads/master 53690b624 -> f99d0f400
Treat 'dev' as greater than any expected engine version Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/f99d0f40 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/f99d0f40 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/f99d0f40 Branch: refs/heads/master Commit: f99d0f4000cc253d2d931de96bf4244ef8775a40 Parents: 53690b6 Author: Michal Mocny <[email protected]> Authored: Fri Jun 7 15:52:36 2013 -0400 Committer: Michal Mocny <[email protected]> Committed: Fri Jun 7 15:52:36 2013 -0400 ---------------------------------------------------------------------- src/install.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/f99d0f40/src/install.js ---------------------------------------------------------------------- diff --git a/src/install.js b/src/install.js index a16a133..461549c 100644 --- a/src/install.js +++ b/src/install.js @@ -94,7 +94,7 @@ function runInstall(actions, platform, project_dir, plugin_dir, plugins_dir, opt }else{ // clean only versionScript.output since semver.clean strips out // the gt and lt operators - if(semver.satisfies(semver.clean(versionScript.output), engineVersion)){ + if(versionScript.output.trim() === 'dev' || semver.satisfies(semver.clean(versionScript.output), engineVersion)){ // engine ok! }else{
