From b87138356a9c71ad5e08eaa05399d0233529bc71 Mon Sep 17 00:00:00 2001 From: Michael Akinde Date: Fri, 15 Jan 2016 08:19:23 -0800 Subject: [PATCH] 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 --- src/lint/linter/ArcanistCpplintLinter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lint/linter/ArcanistCpplintLinter.php b/src/lint/linter/ArcanistCpplintLinter.php index 70a387e0..f9c6ddf5 100644 --- a/src/lint/linter/ArcanistCpplintLinter.php +++ b/src/lint/linter/ArcanistCpplintLinter.php @@ -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'); -- 2.43.0