forked from orbit-oss/chalk
OS X → macOS
This commit is contained in:
parent
6c3e57351b
commit
a125eb0e72
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -81,7 +81,7 @@ function applyStyle() {
|
|||
str = code.open + str.replace(code.closeRe, code.open) + code.close;
|
||||
|
||||
// Close the styling before a linebreak and reopen
|
||||
// after next line to fix a bleed issue on OS X
|
||||
// after next line to fix a bleed issue on macOS
|
||||
// https://github.com/chalk/chalk/pull/92
|
||||
str = str.replace(/\r?\n/g, code.close + '$&' + code.open);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue