Skip to content

Conversation

@NickHeiner
Copy link

In my project, I run webpack from the shell, and expect its output to be valid json. Having this module log to the console breaks the json parsing. In another context, I am spawning a process that where running this causes a console log that breaks the TAP output. In both cases, I would like the ability to turn off the logging.

I thought about adding a test but it seems like it would be quite a bit of work, and I'm not sure it's a good ROI.

Thanks for making this module!

jbrantly added a commit that referenced this pull request Jun 25, 2015
Adding an option to suppress log messages.
@jbrantly jbrantly merged commit 8436ea8 into TypeStrong:master Jun 25, 2015
@jbrantly
Copy link
Member

Good idea! I'm going to merge but I'll make a couple tweaks before publishing (a console.log was missed). Also, agree that a test here isn't worth it. Thanks!

@NickHeiner
Copy link
Author

Awesome, thanks!

@jbrantly
Copy link
Member

Published as v0.4.5

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.

2 participants