]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix a typo
authorJoshua Spence <josh@joshuaspence.com>
Mon, 4 May 2015 21:14:40 +0000 (07:14 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 4 May 2015 21:14:40 +0000 (07:14 +1000)
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

index 292971250243ec1711d96037fc974eb1732ba738..76efca9d388d2a05099ff44442ab8dbb6ec4a6dc 100644 (file)
@@ -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(