mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 08:42:40 +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:
parent
72b2b7b22c
commit
48f5ecb05c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue