HomePhabricator

(stable) Correct lint rendering when patching trailing whitespace in files

Description

(stable) Correct lint rendering when patching trailing whitespace in files

Summary: Ref PHI48. If a patch removes all of the lines at the end of a file, we can get some array index errors.

Test Plan: Added failing test, made it pass.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18631

Details

Provenance
epriestleyAuthored on Sep 20 2017, 6:59 PM
epriestleyPushed on Sep 20 2017, 7:07 PM
Reviewer
amckinley
Differential Revision
D18631: Correct lint rendering when patching trailing whitespace in files
Parents
rARCc67dcb00a4db: (stable) Promote 2017 Week 37
Branches
Unknown
Tags
Unknown
Build Status
Buildable 18508
Build 24926: Run Core Tests