HomePhabricator

Improve the handling of `.arclint` files.

Description

Improve the handling of .arclint files.

Summary: Throw a useful error message when an .arclint file is not valid JSON.

Test Plan:
Modified an .arclint file to be invalid JSON.

> arc lint
Exception
Parse error on line 24 at column 5: Expected one of: 'EOF', '}', ',', ']'
(Run with --trace for a full exception trace.)

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley, Korvin

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jun 23 2014, 11:24 PM
Reviewer
Blessed Reviewers
Differential Revision
D9679: Improve the handling of `.arclint` files.
Parents
rARC69cd86fa4f3e: If a `PhutilProxyException` is thrown by Arcanist, print all error messages.
Branches
Unknown
Tags
Unknown

Event Timeline