]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix a stiring issue in the External linter
authorepriestley <git@epriestley.com>
Sun, 29 Sep 2013 14:44:33 +0000 (07:44 -0700)
committerepriestley <git@epriestley.com>
Sun, 29 Sep 2013 14:44:33 +0000 (07:44 -0700)
Summary: See error message in D7170 --  this should be a `.`, not a `,`.

Test Plan:
Faked interprerter and got reasonable error message:

> Unable to locate interpreter "TESTpython2.6" to run linter ArcanistPEP8Linter. You may need to install the intepreter, or adjust your linter configuration.
> TO INSTALL: Install PEP8 using `easy_install pep8`.

This doesn't fix the //real// error, which is that the test should skip if you don't have the interpreter/binary, but that's a little more involved.

Reviewers: hach-que, chad, btrahan

Reviewed By: chad

CC: aran
Differential Revision: https://secure.phabricator.com/D7172

src/lint/linter/ArcanistExternalLinter.php

index b7031b666da81f1b139bbba6e76c9560d81eb1b9..d8fde402a70de2bfc163b5abad089145c423810b 100644 (file)
@@ -285,7 +285,7 @@ abstract class ArcanistExternalLinter extends ArcanistFutureLinter {
           pht(
             'Unable to locate interpreter "%s" to run linter %s. You may '.
             'need to install the intepreter, or adjust your linter '.
-            'configuration.',
+            'configuration.'.
             "\nTO INSTALL: %s",
             $interpreter,
             get_class($this),