forked from uber/arcanist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
30df78f
commit 750a94e
Showing
2 changed files
with
32 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters