Skip to content

Commit

Permalink
FIX: handling if (extra.parent) when parent == 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Maslennikov authored and James Halliday committed Jun 2, 2014
1 parent 14b4eef commit 9579246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/results.js
Expand Up @@ -35,7 +35,7 @@ Results.prototype.createStream = function (opts) {
name: t.name,
id: id
};
if (extra.parent) {
if (has(extra, 'parent')) {
row.parent = extra.parent;
}
output.queue(row);
Expand Down

0 comments on commit 9579246

Please sign in to comment.