Summary: D3737#6
Test Plan:
phabricator/src/ $ arc lint __phutil_library_init__.php
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3746
$linters[] = $name_linter;
foreach ($paths as $key => $path) {
$name_linter->addPath($path);
- if (!is_file($path)) {
+ if (!$this->getCommitHookMode() &&
+ !is_file($this->getFilePathOnDisk($path))) {
unset($paths[$key]);
}
}