From c3e2f5c663dd0f2d006640434a3ae857337f345e 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. --- library/packaging/npm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/packaging/npm b/library/packaging/npm index 83f6962b505..c5cc7fa5103 100644 --- a/library/packaging/npm +++ b/library/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)