HomePhabricator

Don't throw an exception if no configuration is set for linter tests

Description

Don't throw an exception if no configuration is set for linter tests

Summary: This was broken in D9641. If $config is not set, then a PhutilJSONParserException will be thrown. The expected behaviour is that it is okay to not explicitly set any configuration.

Test Plan: Ran arc unit.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley, Korvin

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jun 20 2014, 9:15 PM
Reviewer
Blessed Reviewers
Differential Revision
D9643: Don't throw an exception if no configuration is set for linter tests
Parents
rARC5ee12bbad652: Update callsites of `phutil_json_decode`.
Branches
Unknown
Tags
Unknown

Event Timeline