Wording changes
This commit is contained in:
parent
bb16265e48
commit
39037cb258
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
|
@ -41,7 +41,7 @@ function chalkFactory(options) {
|
|||
Object.setPrototypeOf(chalk.template, chalk);
|
||||
|
||||
chalk.template.constructor = () => {
|
||||
throw new Error('Chalk.constructor() is deprecated. Use new Chalk.Instance() instead.');
|
||||
throw new Error('`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.');
|
||||
};
|
||||
chalk.template.Instance = ChalkClass;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue