From: Joshua Spence Date: Mon, 4 May 2015 21:14:40 +0000 (+1000) Subject: Fix a typo X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f477682726ba4779b6e7b264ad665e29dbf206fc;p=arcanist.git 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 --- diff --git a/src/lint/linter/ArcanistJSHintLinter.php b/src/lint/linter/ArcanistJSHintLinter.php index 29297125..76efca9d 100644 --- a/src/lint/linter/ArcanistJSHintLinter.php +++ b/src/lint/linter/ArcanistJSHintLinter.php @@ -134,7 +134,7 @@ final class ArcanistJSHintLinter extends ArcanistExternalLinter { protected function parseLinterOutput($path, $err, $stdout, $stderr) { $errors = null; try { - $error = phutil_json_decode($stdout); + $errors = phutil_json_decode($stdout); } catch (PhutilJSONParserException $ex) { // Something went wrong and we can't decode the output. Exit abnormally. throw new PhutilProxyException(