diff --git a/src/lint/linter/ArcanistJSONLintLinter.php b/src/lint/linter/ArcanistJSONLintLinter.php index fd49b89c..a4591cfa 100644 --- a/src/lint/linter/ArcanistJSONLintLinter.php +++ b/src/lint/linter/ArcanistJSONLintLinter.php @@ -37,7 +37,7 @@ final class ArcanistJSONLintLinter extends ArcanistExternalLinter { $matches = array(); if (preg_match('/^(?P\d+\.\d+\.\d+)$/', $stdout, $matches)) { - $version = $matches['version']; + return $matches['version']; } else { return false; }