1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 23:02:41 +01:00

Fix a typo

Summary: This variable is misnamed.

Test Plan: `arc unit`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12695
This commit is contained in:
Joshua Spence 2015-05-05 07:14:40 +10:00
parent a4d33ef117
commit f477682726

View file

@ -134,7 +134,7 @@ final class ArcanistJSHintLinter extends ArcanistExternalLinter {
protected function parseLinterOutput($path, $err, $stdout, $stderr) { protected function parseLinterOutput($path, $err, $stdout, $stderr) {
$errors = null; $errors = null;
try { try {
$error = phutil_json_decode($stdout); $errors = phutil_json_decode($stdout);
} catch (PhutilJSONParserException $ex) { } catch (PhutilJSONParserException $ex) {
// Something went wrong and we can't decode the output. Exit abnormally. // Something went wrong and we can't decode the output. Exit abnormally.
throw new PhutilProxyException( throw new PhutilProxyException(