Skip to content

Commit d32a361

Browse files
Update lib/actions/read.js
Co-authored-by: Jacob Horbulyk <[email protected]>
1 parent 8bcedaa commit d32a361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/actions/read.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async function readCSV(msg, cfg) {
9292
} else {
9393
data = arrayToObj(chunk)
9494
}
95-
if (emitBehavior === 'emitIndividually') {
95+
if (emitBehavior === 'emitIndividually' || cfg.emitAll === false || cfg.emitAll === 'false') {
9696
parseStream.pause()
9797
await that.emit('data', messages.newMessageWithBody(data))
9898
parseStream.resume()

0 commit comments

Comments
 (0)