1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-29 18:22:41 +01:00

Fix cppcheck path finding

Summary: This fix lets you run arc lint from any directory in the repository

Test Plan: Ran arc lint from any directory

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4356
This commit is contained in:
Jack Lindamood 2013-01-07 12:46:49 -08:00 committed by epriestley
parent 72b2b7b22c
commit 48f5ecb05c

View file

@ -79,7 +79,7 @@ final class ArcanistCppcheckLinter extends ArcanistLinter {
"%C %C --inline-suppr --xml-version=2 -q %s", "%C %C --inline-suppr --xml-version=2 -q %s",
$bin, $bin,
$options, $options,
$path $this->getEngine()->getFilePathOnDisk($path)
); );
if ($rc === 1) { if ($rc === 1) {