Require Node.js 6

This commit is contained in:
Sindre Sorhus 2018-09-18 14:05:08 +07:00
parent 70f22d87ba
commit 0307f263cb
13 changed files with 204 additions and 216 deletions

View file

@ -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];
}