From f477682726ba4779b6e7b264ad665e29dbf206fc Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 5 May 2015 07:14:40 +1000 Subject: [PATCH] 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 --- src/lint/linter/ArcanistJSHintLinter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.43.0