HomePhabricator

Fix the `ArcanistJSONLintLinter::getVersion` function.

Description

Fix the ArcanistJSONLintLinter::getVersion function.

Summary: Ref T4954. There was a typo in the original implementation. It wasn't noticed until now because the getVersion function isn't really used anywhere.

Test Plan: Ran arc linters in a repository with ArcanistJSONLintLinter configured, noticed that the version number appeared in the output.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T4954

Differential Revision: https://secure.phabricator.com/D9160

Details

Provenance
joshuaspenceAuthored on
epriestleyCommitted on May 18 2014, 1:36 AM
epriestleyPushed on May 18 2014, 1:36 AM
Reviewer
Blessed Reviewers
Differential Revision
D9160: Fix the `ArcanistJSONLintLinter::getVersion` function.
Parents
rARCb4b6a33d2a8d: Relax the version regex for `ArcanistFlake8Linter`.
Branches
Unknown
Tags
Unknown
Tasks
T4954: Allow version dependencies to be specified for external linters

Event Timeline