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

Fix #8326, add back --quiet option. #10399

Merged
merged 3 commits into from Oct 29, 2019
Merged

Conversation

chris-peng-1244
Copy link
Contributor

@chris-peng-1244 chris-peng-1244 commented Sep 6, 2019

Q                       A
Fixed Issues? Fixes #8326
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

I added the --quiet to the babel-cli which overrides the --verbose option.

@babel-bot
Copy link
Collaborator

babel-bot commented Sep 6, 2019

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/11519/

@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/11476/

@@ -56,7 +56,7 @@ export default async function({
outputFileSync(dest, res.code);
util.chmod(src, dest);

if (cliOptions.verbose) {
if (cliOptions.verbose && !cliOptions.quiet) {
Copy link
Member

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

Copy link
Contributor Author

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.

@nicolo-ribaudo nicolo-ribaudo added pkg: cli PR: New Feature 🚀 A type of pull request used for our changelog categories labels Sep 6, 2019
@nicolo-ribaudo nicolo-ribaudo added this to the v7.7.0 milestone Sep 9, 2019
@nicolo-ribaudo
Copy link
Member

Thanks! We will merge this PR when releasing Babel 7.7.0

@nicolo-ribaudo nicolo-ribaudo added the PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release label Sep 9, 2019
@chris-peng-1244
Copy link
Contributor Author

Glad I managed to contribute!

@woodcockjosh
Copy link

this is so annoying

@nicolo-ribaudo nicolo-ribaudo merged commit 4e5ac1f into babel:master Oct 29, 2019
@danielhaim1
Copy link

Don't forget to add --quiet back to docs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: cli PR: Needs Docs PR: New Feature 🚀 A type of pull request used for our changelog categories PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@babel/cli can't be quietened
7 participants