Fix collapsible section's end markers in GitLab CI job output (#3545)

This commit is contained in:
Niklas Grießer 2023-03-22 19:00:39 +01:00 committed by GitHub
parent daba4ea9df
commit 2df75b3b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ class Messenger
if (getenv('GITHUB_WORKFLOW')) {
$this->output->writeln("::endgroup::");
} else if (getenv('GITLAB_CI')) {
$this->output->writeln("\e[0Ksection_end:{$taskTime}:{$this->startTime}\r\e[0K");
$this->output->writeln("\e[0Ksection_end:{$endTime}:{$this->startTime}\r\e[0K");
} else if ($this->output->isVeryVerbose()) {
$this->output->writeln("<fg=yellow;options=bold>done</> {$task->getName()} $taskTime");
}