js-sumo-logger
js-sumo-logger copied to clipboard
Prevent throwing when batchSize and raw specified
when both are specified, the JSON.parse call throws.
Appreciate the PR @srolel can you rebase with master so we can run the latests tests on your PR. Then we can merge this in.
Appreciate the PR @srolel can you rebase with master so we can run the latests tests on your PR. Then we can merge this in.
Done!
Hi @srolel! I'm sorry for the delay, but I'm picking up the repository for maintenance after a period of hiatus.
Are you sure that the ternary operator isn't flipped, though? Your change means that we'd never use JSON.parse() on string, actually.
As for the change, once we settle on the solution, I can merge and release it soon.