]> khamidou — GitHub mirrors - arcanist.git/commit
Resolve paths when running "--lintall"
authorepriestley <epriestley@phabricator.com>
Mon, 14 Mar 2011 22:03:50 +0000 (15:03 -0700)
committerepriestley <epriestley@phabricator.com>
Wed, 16 Mar 2011 01:59:48 +0000 (18:59 -0700)
commit9b6e8aa6e1d02e4afc4cb4ab3944dac690bf171e
treeb8e97a736c2d0971a67db768a3e9b62711da381e
parenteb58ed1b8b3b8da06eb4668b6364f8207a824ca8
Resolve paths when running "--lintall"

Summary: this was all kinds of fail when running from a subdirectory or on
invalid paths. Detect nonexistent paths; resolve valid paths.

Test Plan: ran "arc lint --lintall" on a file from a subdirectory, and on a
file which did not exist. Received patches and an error, respectively

Reviewers: arudolph

CC:

Differential Revision: 72
src/workflow/lint/ArcanistLintWorkflow.php