diff --git a/arcanist_util/cpp_linter/FbcodeCppLinter.php b/arcanist_util/cpp_linter/FbcodeCppLinter.php index 66eefa004..3dac9bf73 100644 --- a/arcanist_util/cpp_linter/FbcodeCppLinter.php +++ b/arcanist_util/cpp_linter/FbcodeCppLinter.php @@ -88,6 +88,9 @@ class FbcodeCppLinter extends ArcanistLinter { } private function getCppLintOutput($path) { + if (!array_key_exists($path, $this->rawLintOutput)) { + return array(); + } list($output) = $this->rawLintOutput[$path]; $msgs = array();