HomePhabricator

Call willLintPath() hook from PhutilLinter

Description

Call willLintPath() hook from PhutilLinter

Summary:
Some callpaths end up here, which doesn't cause the internal linter's willLintPath() method. This can mean its activePath is set wrong, which results in us raising lint for the wrong file.

Particularly, if you apply D7979 (diff 18069) and arc lint it, you'll get a syntax error message in the wrong file.

Test Plan: Applied D7979 and linted it, got proper error message.

Reviewers: btrahan

Reviewed By: btrahan

CC: aarwine, aran

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jan 18 2014, 5:30 AM
Reviewer
btrahan
Differential Revision
D7988: Call willLintPath() hook from PhutilLinter
Parents
rARC7ce0c8e84e8d: Prompt user for commit message when auto-committing
Branches
Unknown
Tags
Unknown

Event Timeline