Skip to content

Commit

Permalink
fix: exclude only undefined values
Browse files Browse the repository at this point in the history
  • Loading branch information
touv committed Jul 24, 2024
1 parent c4e36de commit babed4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ezsLodex/src/formatOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function formatOutput(data, feed) {
if (keys.length > 0) {
let check = false;
keys.forEach((k, index) => {
if (values[index]) {
if (values[index] !== undefined) {
feed.write(!check ? ' ' : ',');
check = true;
feed.write(json(k));
Expand Down

0 comments on commit babed4d

Please sign in to comment.