-
-
Notifications
You must be signed in to change notification settings - Fork 381
Use options.log, warn and error for compilation messages #186
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
Conversation
When the compilation fails or has warnings, the compilation messages are outputted in console.log not using the options.error and options.warn functions. This commit change the defaultReporter to output the stats and final message to the options.error when the compilation has errors or the options.warn when it has warnings. The Reporter.test.js test cases are updated accordingly.
Hi jsf-clabot, can you fix the page you ask me to sign. The link to the licence file is not working:
|
@Tarrask Please click the link on the comment above your last. That will take you to the site to sign the CLA. |
@SpaceK33z could you weigh in on this one? I think it makes good sense and fixes what was probably an oversight, but I can't speak to the original intention here. |
This was intentional, but arguably it can be inconvenient. The reason that I used It makes sense to use |
Note that you've changed some files from 0664 to 0775 permissions, could you fix that? |
@Tarrask ping! please see the comments above |
@SpaceK33z I think I should merge this and then modify with a subsequent commit to resolve the issues mentioned. There's value-add in this PR; I'd like not to hold it up further due to vanishing author 😆 |
Will be following this up with a commit to resolve the requests made. |
When the compilation fails or has warnings, the compilation
messages are outputted in console.log not using the options.error
and options.warn functions.
This commit change the defaultReporter to output the stats
and final message to the options.error when the compilation
has errors or the options.warn when it has warnings.
The Reporter.test.js test cases are updated accordingly.