Skip to content

Commit

Permalink
Merge branch 'hotfix/3.3.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Mar 2, 2020
2 parents 529cffa + 478ec21 commit f8429a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Method/ArtifactsGitMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ protected function pushToTargetRepository(HostConfig $host_config, TaskContextIn
$formatted_message = $message;
// Add two new lines to the end of the short message for detailed messages.
if (!empty($detailed_messages)) {
if (count($detailed_messages) > 20) {
array_slice($detailed_messages, 0, 20);
}
$formatted_message .= "\n\n * " . implode("\n * ", $detailed_messages);
}

Expand Down

0 comments on commit f8429a6

Please sign in to comment.