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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Final 3.0 CLI touches #334
Conversation
* Reject Runner with real Errors. * Fix handling of --max-warnings=-1. Closes #321. * Fix a minor refactor typo with custom linters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, not stepping on my toes at all. Especially when I'm so damn slow 馃拑
status: EXIT_CODES.WARNING | ||
}); | ||
return reject(new RunnerError( | ||
'', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we avoid this empty message somehow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you suggesting we put a message there? Or something else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what to do, just don't like passing empty messages I guess.
Can't we have a default just to ease my mind or will that break something?
I guess it's stuff like if( error.message )
that scares me a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't wanna unnecessary output in case someone's piping the output somewhere else, reporters will already have printed everything that's needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I guess that makes sense. Just leaves me with a funny feeling.
Runner
with realError
s.--max-warnings=-1
. Closes Max-Warnings Config Issue聽#321.Which issue, if any, does this resolve?
#321 among others.
Is there anything in this PR that needs extra explaining or should something specific be focused on?
@kokarn Is this what you had in mind? Hope I didn't step on any toes 馃槵