mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove unneeded newline from detailed_message
This commit is contained in:
parent
5099f64fa4
commit
eda10e8102
Notes:
git
2022-02-22 11:56:14 +09:00
1 changed files with 0 additions and 1 deletions
|
@ -189,7 +189,6 @@ rb_decorate_message(const VALUE eclass, const VALUE emesg, int highlight)
|
||||||
einfo = tail;
|
einfo = tail;
|
||||||
write_warn2(str, "\n", 1);
|
write_warn2(str, "\n", 1);
|
||||||
while (elen > 0) {
|
while (elen > 0) {
|
||||||
write_warn2(str, "\n", 1);
|
|
||||||
tail = memchr(einfo, '\n', elen);
|
tail = memchr(einfo, '\n', elen);
|
||||||
if (!tail || tail > einfo) {
|
if (!tail || tail > einfo) {
|
||||||
write_warn(str, bold);
|
write_warn(str, bold);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue