From 4f43607c9b71577eb03cc1e54c402c85c765cc1a Mon Sep 17 00:00:00 2001 From: Christophe Biocca Date: Wed, 6 Aug 2014 10:52:58 -0400 Subject: [PATCH] Ensure named packages not in top level are marked as missing. --- packaging/npm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/npm b/packaging/npm index 83f6962b505..c5cc7fa5103 100644 --- a/packaging/npm +++ b/packaging/npm @@ -163,6 +163,8 @@ class Npm(object): missing.append(dep) else: installed.append(dep) + if self.name and self.name not in installed: + missing.append(self.name) #Named dependency not installed else: missing.append(self.name)