Skip to content

Commit

Permalink
Fix bug in registry filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansturmer authored Oct 14, 2016
1 parent 8240b65 commit 2186f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmp/fmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2186f8e

Please sign in to comment.