Rename stderr.supportsColor to supportsColorStderr
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
parent
427ea57355
commit
4c8f1ec52b
4 changed files with 14 additions and 12 deletions
|
|
@ -213,10 +213,10 @@ Object.defineProperties(createChalk.prototype, styles);
|
|||
|
||||
const chalk = createChalk();
|
||||
export const chalkStderr = createChalk({level: stderrColor ? stderrColor.level : 0});
|
||||
chalkStderr.supportsColor = stderrColor;
|
||||
|
||||
export {
|
||||
stdoutColor as supportsColor
|
||||
stdoutColor as supportsColor,
|
||||
stderrColor as supportsColorStderr
|
||||
};
|
||||
|
||||
export default chalk;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue