-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Use skipIntegrityCheck instead of skipIntegrity in licenses command #3239
Conversation
No need for a unit test, I think this should have been caught by Flow. |
I thought the same, we should thank I think I will spend some time to understand package-* and integrity-checker because IMO they require some love |
Yeah.
Happy to collaborate and sync on this |
That sounds great :D |
I think to add some unit/integration testing do understand what effectively does |
Ah before I forget, If you want to delegate something, I am happy to collaborato too :D |
Would you want to extract the reporter out of integrity-checker? |
Sure, I will open a pull request soon. By 'extract the reporter out of integrity-checker' do you mean remove every report.warn from integrity-checker and add a generic |
I think integrity-checker should not have side effects and reporting warning is one. Would be great if those reporter.warn could be moved to check.js command and integrity-checker would just output whether integrity matches and if not in what aspect of check has failed (e.g. FLAGS_DONT_MATCH, FILES_DONT_MATCH etc). |
In #3238 I noticed that we changed the skipIntegrity flag in skipIntegrityCheck (this is the commit bd8e326)
Test plan
I have no idea how to test it; right now I don't have time to see this part. Let's park here for now.