]> khamidou — GitHub mirrors - arcanist.git/commit
Fix the `ArcanistJSHintLinter::getVersion` function.
authorJoshua Spence <josh@joshuaspence.com>
Sun, 18 May 2014 01:17:47 +0000 (18:17 -0700)
committerepriestley <git@epriestley.com>
Sun, 18 May 2014 01:17:47 +0000 (18:17 -0700)
commit7c56fad48fc7ff19150ed597085eee83998af3be
tree5a20c2bbf41869d7f2fd8b6cf7b7c7f2b82708be
parentb52f3fafe3ae2a5cb80c09da97445d4f90ee70b0
Fix the `ArcanistJSHintLinter::getVersion` function.

Summary: As identified by @epriestley in D9060, `jshint --version` emits version information on stderr, not stdout.

Test Plan: Ran `jshint --version` locally and verified that the version information is output to stderr.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T4954

Differential Revision: https://secure.phabricator.com/D9173
src/lint/linter/ArcanistJSHintLinter.php