mirror of
https://github.com/bower/bower.git
synced 2026-01-22 12:47:59 -05:00
Oops, typo.
This commit is contained in:
@@ -181,7 +181,7 @@ Manager.prototype.areCompatible = function (candidate, resolved) {
|
||||
highestCandidate = this._getCap(semver.toComparators(candidate.target), 'highest');
|
||||
highestResolved = this._getCap(semver.toComparators(resolved.target), 'highest');
|
||||
|
||||
return highestResolved.version && highestResolved.version &&
|
||||
return highestCandidate.version && highestResolved.version &&
|
||||
semver.eq(highestCandidate.version, highestResolved.version) &&
|
||||
highestCandidate.comparator === highestResolved.comparator &&
|
||||
semver.satisfies(resolvedVersion, candidate.target);
|
||||
|
||||
Reference in New Issue
Block a user