Escape angle brackets for commit message output
parent
c557715669
commit
32517d90d2
|
@ -145,6 +145,9 @@ abstract class VcsDownloader implements DownloaderInterface, ChangeReportInterfa
|
||||||
return ' ' . $line;
|
return ' ' . $line;
|
||||||
}, explode("\n", $logs)));
|
}, explode("\n", $logs)));
|
||||||
|
|
||||||
|
// escape angle brackets for proper output in the console
|
||||||
|
$logs = str_replace('<', '\<', $logs);
|
||||||
|
|
||||||
$this->io->writeError(' '.$message);
|
$this->io->writeError(' '.$message);
|
||||||
$this->io->writeError($logs);
|
$this->io->writeError($logs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue