Skip to content

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

Merged
nicolo-ribaudo merged 3 commits intobabel:masterfrom
chris-peng-1244:master
Oct 29, 2019
Merged

Fix #8326, add back --quiet option.#10399
nicolo-ribaudo merged 3 commits intobabel:masterfrom
chris-peng-1244:master

Conversation

@chris-peng-1244
Copy link
Copy Markdown
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? Yes
Tests Added + Pass? Yes
Documentation PR Link babel/website#3174
Any Dependency Changes?
License MIT

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

@babel-bot
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

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

util.chmod(src, dest);

if (cliOptions.verbose) {
if (cliOptions.verbose && !cliOptions.quiet) {
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

@chris-peng-1244 chris-peng-1244 Sep 9, 2019

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
Copy Markdown
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
Copy Markdown
Contributor Author

Glad I managed to contribute!

@woodcockjosh
Copy link
Copy Markdown

this is so annoying

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

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: 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

6 participants