PRESUBMIT: Fix usage of AffectedFiles.
The first argument to AffectedFiles is include_deletes, so current usage sets it to include deleted files and ignores the filter, causing checks to run on unrelated files. Fix it so that the source filter is passed to the right parameter. Bug: 962619 Change-Id: I94f550a72f2773d5fedc5949848dcd2defd5757e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1610541 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#731781}
Showing
Please register or sign in to comment