mirror of
https://github.com/bower/bower.git
synced 2026-01-20 19:58:07 -05:00
Small fix.
This commit is contained in:
@@ -576,8 +576,9 @@ Project.prototype._restoreNode = function (node, flattened, jsonKey) {
|
||||
flattened[key] = local = json;
|
||||
local.missing = true;
|
||||
// Even if it is installed, check if it's compatible
|
||||
} else if (!local.missing) {
|
||||
} else {
|
||||
compatible = this._manager.areCompatible(json, local);
|
||||
|
||||
if (!compatible) {
|
||||
// Assign dependants to avoid extraneous warning
|
||||
local.dependants = local.dependants || {};
|
||||
|
||||
Reference in New Issue
Block a user