Skip to content

Commit

Permalink
Merge pull request #126 from gmurphey/patch-1
Browse files Browse the repository at this point in the history
Updating semver comparison to handle pre-release versions.
  • Loading branch information
rwjblue committed Dec 15, 2015
2 parents 84d27e8 + 2a031dd commit 5c6b080
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 5c6b080

Please sign in to comment.