Skip to content

Commit

Permalink
Fix onlydeltan case on build error page (#1578)
Browse files Browse the repository at this point in the history
This PR fixes an issue on `viewBuildError.php` where the negative delta
case was broken.
  • Loading branch information
williamjallen committed Jul 20, 2023
1 parent a1a2a7c commit 6e68ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/BuildController.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ public function apiViewBuildError(): JsonResponse
'stderr' => $resolvedBuildFailure['stderror'],
'stderrorrows' => min(10, substr_count($resolvedBuildFailure['stderror'], "\n") + 1),
'stdoutput' => $resolvedBuildFailure['stdoutput'],
'stdoutputrows' => min(10, substr_count($resolvedBuildFailure['stdoutputrows'], "\n") + 1),
'stdoutputrows' => min(10, substr_count($resolvedBuildFailure['stdoutput'], "\n") + 1),
));

$this->addErrorResponse($marshaledResolvedBuildFailure, $response);
Expand Down

0 comments on commit 6e68ccc

Please sign in to comment.