Skip to content

Commit

Permalink
ensure proper error messages for bundle addition
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Sep 8, 2015
1 parent 1a2e4c5 commit 47cac1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function logTree(tree) {
ui.log('info', '');
tree = alphabetize(tree);
for (var name in tree) {
if (tree[name].metadata.build !== false)
if (tree[name] && tree[name].metadata.build !== false)
ui.log('info', ' `' + name + '`');
}
ui.log('info', '');
Expand Down

0 comments on commit 47cac1d

Please sign in to comment.