Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1403 from finos/1038-fix-when-ndjson-not-set
Browse files Browse the repository at this point in the history
fix(#1038): corrected logic for useNdJson function
  • Loading branch information
hashbyhayter authored Oct 2, 2019
2 parents 2a816a9 + 1a2ba11 commit 00e90a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public boolean useStdOut() {

@Override
public boolean useNdJson() {
return (ndjson == null && this.useStdOut()) || ndjson;
return ndjson == null ? this.useStdOut() : ndjson;
}

@Override
Expand Down

0 comments on commit 00e90a7

Please sign in to comment.