]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Cleans up some minor issues in cpplint
authorMichael Akinde <michaeloa@met.no>
Fri, 15 Jan 2016 16:19:23 +0000 (08:19 -0800)
committerepriestley <git@epriestley.com>
Fri, 15 Jan 2016 16:19:23 +0000 (08:19 -0800)
Summary:
- Corrected typo in install instructions
- Sets the default binary to cpplint.py

Test Plan:
- Running the unit tests.

You may need to check your test environment is set up with the latest
cpplint.py available, since the default binary is being changed.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T10157

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

src/lint/linter/ArcanistCpplintLinter.php

index 70a387e011623e0e9805bc1ad62d2d2510e0a24c..f9c6ddf5d6149fbec549870e0bf5315f05a49060 100644 (file)
@@ -14,12 +14,12 @@ final class ArcanistCpplintLinter extends ArcanistExternalLinter {
   }
 
   public function getDefaultBinary() {
-    return 'cpplint';
+    return 'cpplint.py';
   }
 
   public function getInstallInstructions() {
     return pht(
-      'Install cpplint.py using `%s`, and place it in your path with the'.
+      'Install cpplint.py using `%s`, and place it in your path with the '.
       'appropriate permissions set.',
       'wget https://raw.github.com'.
       '/google/styleguide/gh-pages/cpplint/cpplint.py');