Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall 2021-11-05 00:54:45 +13:00
parent 0391758eb9
commit a02477d43c
No known key found for this signature in database
GPG key ID: 1C6A99DFA9D306FC

View file

@ -39,7 +39,7 @@ export class Chalk {
}
const chalkFactory = options => {
const chalk = (...arguments_) => arguments_.join(' ');
const chalk = (...strings) => strings.join(' ');
applyOptions(chalk, options);
Object.setPrototypeOf(chalk, createChalk.prototype);