1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-14 10:52:40 +01:00

Cleans up some minor issues in cpplint

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
This commit is contained in:
Michael Akinde 2016-01-15 08:19:23 -08:00 committed by epriestley
parent 22af67c1c0
commit b87138356a

View file

@ -14,12 +14,12 @@ final class ArcanistCpplintLinter extends ArcanistExternalLinter {
} }
public function getDefaultBinary() { public function getDefaultBinary() {
return 'cpplint'; return 'cpplint.py';
} }
public function getInstallInstructions() { public function getInstallInstructions() {
return pht( 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.', 'appropriate permissions set.',
'wget https://raw.github.com'. 'wget https://raw.github.com'.
'/google/styleguide/gh-pages/cpplint/cpplint.py'); '/google/styleguide/gh-pages/cpplint/cpplint.py');