diff options
Diffstat (limited to 'PRESUBMIT.py')
-rwxr-xr-x | PRESUBMIT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index c2f0b77..f4f69db 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -87,7 +87,7 @@ def LocalChecks(input_api, output_api, max_cols=80): # Need to read the file ourselves since AffectedFile.NewContents() # will normalize line endings. - contents = ReadFile(path) + contents = ReadFile(f.AbsoluteLocalPath()) if '\r' in contents: cr_files.append(path) |