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

Commit

Permalink
fix(#1038): corrected logic for useNdJson function
Browse files Browse the repository at this point in the history
  • Loading branch information
hashbyhayter committed Oct 2, 2019
1 parent b1a0e0c commit f26bd0a
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 f26bd0a

Please sign in to comment.