Small fix.

This commit is contained in:
André Cruz
2013-06-11 19:16:43 +01:00
parent 94a24b3f57
commit f532eb708e

View File

@@ -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 || {};