From f532eb708ea488ff554ae5aceadb664ed2e4a450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Cruz?= Date: Tue, 11 Jun 2013 19:16:43 +0100 Subject: [PATCH] Small fix. --- lib/core/Project.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/Project.js b/lib/core/Project.js index 4958ebfe..5ea599aa 100644 --- a/lib/core/Project.js +++ b/lib/core/Project.js @@ -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 || {};