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
Fix #8326, add back --quiet option. #10399
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/11519/ |
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/11476/ |
packages/babel-cli/src/babel/dir.js
Outdated
@@ -56,7 +56,7 @@ export default async function({ | |||
outputFileSync(dest, res.code); | |||
util.chmod(src, dest); | |||
|
|||
if (cliOptions.verbose) { | |||
if (cliOptions.verbose && !cliOptions.quiet) { |
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'd prefer to throw if both are enabled
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.
@nicolo-ribaudo Will work on it.
Thanks! We will merge this PR when releasing Babel 7.7.0 |
Glad I managed to contribute! |
this is so annoying |
Don't forget to add |
I added the
--quiet
to the babel-cli which overrides the--verbose
option.