(conv: Converter, res: ProcessLineResult)
| 154 | processLineByLine(lines, conv, offset, needPushDownstream, cb); |
| 155 | } |
| 156 | function pushDownstream(conv: Converter, res: ProcessLineResult) { |
| 157 | if (typeof res === "object" && !conv.options.objectMode) { |
| 158 | const data = JSON.stringify(res); |
| 159 | conv.push(data + (conv.parseParam.downstreamFormat === "array" ? "," + EOL : EOL), "utf8"); |
| 160 | } else { |
| 161 | conv.push(res); |
| 162 | } |
| 163 | } |
no outgoing calls
no test coverage detected