Skip to content

Commit 718557a

Browse files
committed
Move error before error summary
1 parent b3c6959 commit 718557a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/TicketSwapErrorFormatter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ public function formatErrors(AnalysisResult $analysisResult, Output $output) : i
100100
);
101101
}
102102

103+
if ($this->editorUrl === null) {
104+
$output->writeLineFormatted('<comment>Configure the `editorUrl` to make the filenames clickable.</comment>');
105+
$output->writeLineFormatted('');
106+
}
107+
103108
$output->writeLineFormatted(
104109
sprintf(
105110
'<bg=red;options=bold>Found %d error%s</>',
@@ -109,11 +114,6 @@ public function formatErrors(AnalysisResult $analysisResult, Output $output) : i
109114
);
110115
$output->writeLineFormatted('');
111116

112-
if ($this->editorUrl === null) {
113-
$output->writeLineFormatted('<comment>Configure the `editorUrl` to make the filenames clickable.</comment>');
114-
$output->writeLineFormatted('');
115-
}
116-
117117
$this->ciDetectedErrorFormatter->formatErrors($analysisResult, $output);
118118

119119
return 1;

0 commit comments

Comments
 (0)