diff --git a/src/workflow/cover/ArcanistCoverWorkflow.php b/src/workflow/cover/ArcanistCoverWorkflow.php index 639c7921..44d5792f 100644 --- a/src/workflow/cover/ArcanistCoverWorkflow.php +++ b/src/workflow/cover/ArcanistCoverWorkflow.php @@ -1,7 +1,7 @@ getChangedLines($path, 'cover'); - } - $covers = array(); foreach ($paths as $path) { + $lines = $this->getChangedLines($path, 'cover'); + if (!$lines) { + continue; + } $blame = $repository_api->getBlame($path); - $lines = $changed[$path]; foreach ($lines as $line) { list($author, $revision) = idx($blame, $line, array(null, null)); if (!$author) {