Skip to content

Commit

Permalink
Updating semver comparison to handle pre-release versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Garrett Murphey authored and Garrett Murphey committed Dec 15, 2015
1 parent 84d27e8 commit 2a031dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
var checker = new VersionChecker(this);
var dep = checker.for('ember-cli', 'npm');

if (!dep.satisfies('>= 2.0.0')) {
if (dep.lt('2.0.0')) {
this.monkeyPatchVendorFiles();
}

Expand Down

0 comments on commit 2a031dd

Please sign in to comment.