Presubmit: if there are warnings and may_prompt is false, don't fail.
Rationale: The description of the -f flag to git cl upload is "force yes to questions (don't prompt)", so when git cl upload -f is run, I would expect it to abort on errors, but still continue on warnings. When the -f is given, DoPresubmitChecks is called with may_prompt=False; this CL would change the behavior of DoPresubmitChecks so that when may_prompt is False and there are warnings but no errors, then that means we will print warnings but not fail. BUG=671683 Change-Id: Ie0f1ac1983d875226db8ad741cbce3dc0bc4eb96 Reviewed-on: https://chromium-review.googlesource.com/419148 Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>changes/48/419148/5
parent
9b713dd18b
commit
516fe7f881
Loading…
Reference in New Issue