Skip to content

Prevent throwing when batchSize and raw specified #101

Open
srolel wants to merge 1 commit into
SumoLogic:masterfrom
srolel:patch-1
Open

Prevent throwing when batchSize and raw specified #101
srolel wants to merge 1 commit into
SumoLogic:masterfrom
srolel:patch-1

Conversation

@srolel

@srolel srolel commented Feb 3, 2021

Copy link
Copy Markdown

when both are specified, the JSON.parse call throws.

@safaiyeh

Copy link
Copy Markdown
Contributor

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.

@srolel

srolel commented Aug 21, 2021

Copy link
Copy Markdown
Author

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!

@bpolanczyk

Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants