Require Node.js 6
This commit is contained in:
parent
70f22d87ba
commit
0307f263cb
13 changed files with 204 additions and 216 deletions
|
|
@ -80,7 +80,7 @@ function buildStyle(chalk, styles) {
|
|||
}
|
||||
|
||||
if (enabled[styleName].length > 0) {
|
||||
current = current[styleName].apply(current, enabled[styleName]);
|
||||
current = current[styleName](...enabled[styleName]);
|
||||
} else {
|
||||
current = current[styleName];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue