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

silence yarn output if checking is successfull #1131

Merged
merged 1 commit into from
Dec 20, 2017

Conversation

doits
Copy link
Contributor

@doits doits commented Dec 19, 2017

on every rake or rails call I get this output:

yarn check v1.3.2
warning package.json: No license field
warning No license field
success Folder in sync.
✨  Done in 0.18s.

why not silence it if everything is in sync and only display it in case of errors?

@@ -37,6 +37,10 @@ class Webpacker::Engine < ::Rails::Engine
warn "To disable this check, please add `config.webpacker.check_yarn_integrity = false`"
warn "to your Rails development config file (config/environments/development.rb)."
warn "\n\n"
warn "Yarn output while checking for integrity:"
Copy link
Member

@gauravtiwari gauravtiwari Dec 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we need this line? Think above is enough

Copy link
Contributor Author

@doits doits Dec 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right, I just removed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants