-
Bruce Dawson authored
The CheckLicense presubmit is supposed to check for correct licenses, not for correct line endings. By reading the input file in binary mode it implictly does both, leading to confusing error messages. This is exacerbated by bugs in the line ending checks which are being addressed separately. This change will avoid false positives on files that have Windows line endings. Change-Id: I2ff8632f273ec4896cb4918c386e0d1c12e72935 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2910486Reviewed-by: Dirk Pranke <dpranke@google.com> Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
b0bfaf1b