HomePhabricator

Better handling of `.arcconfig` files.

Description

Better handling of .arcconfig files.

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

Depends on D9697.

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

> arc lint
Usage Exception: Your '~/.arcrc' file is not a valid JSON file.

Parse error on line 18 at column 4: Expected: 'STRING' - It appears you have an extra trailing comma

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley, Korvin

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jun 23 2014, 11:24 PM
Reviewer
Blessed Reviewers
Differential Revision
D9681: Better handling of `.arcconfig` files.
Parents
rARC30df78f64cd8: Improve the handling of `.arclint` files.
Branches
Unknown
Tags
Unknown

Event Timeline