Skip to content

Commit a5cdd61

Browse files
authored
[ChangesReporting] Fix total changed result on JsonOutputFormatter (#7807)
1 parent 2fecbc2 commit a5cdd61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ChangesReporting/Output/JsonOutputFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function report(ProcessResult $processResult, Configuration $configuratio
2727
{
2828
$errorsJson = [
2929
'totals' => [
30-
'changed_files' => count($processResult->getFileDiffs()),
30+
'changed_files' => $processResult->getTotalChanged(),
3131
],
3232
];
3333

0 commit comments

Comments
 (0)