From 2186f8eff55015aa4fff417eb9725961b81269ac Mon Sep 17 00:00:00 2001 From: Ryan Sturmer Date: Fri, 14 Oct 2016 16:09:19 -0400 Subject: [PATCH] Fix bug in registry filter --- fmp/fmp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmp/fmp.js b/fmp/fmp.js index 24906e5..6b82d03 100644 --- a/fmp/fmp.js +++ b/fmp/fmp.js @@ -326,7 +326,7 @@ function installUnpackedPackage(manifest_filename) { } function filterPackages(registry, options) { - if(!packages) { return []; } + if(!registry) { return []; } var packages = registry.packages.filter(function(package) { for(var key in options) {