Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for npm/yarn scripts #2

Closed
cmwd opened this issue Apr 25, 2017 · 1 comment
Closed

Support for npm/yarn scripts #2

cmwd opened this issue Apr 25, 2017 · 1 comment
Labels

Comments

@cmwd
Copy link
Contributor

cmwd commented Apr 25, 2017

This transform works only if an app is executed directly from the node. Because npm/yarn adds own non-json logs to the output it throws SyntaxError: Unexpected end of JSON input.

Maybe we could simply detect if the log comes from pino and if not just ignore it?

Thanks,
Piotr

@jsumners jsumners added the bug label Apr 25, 2017
@jsumners
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants