Rename stderr.supportsColor to supportsColorStderr

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall 2021-04-17 21:27:33 +12:00
parent 427ea57355
commit 4c8f1ec52b
No known key found for this signature in database
GPG key ID: 1C6A99DFA9D306FC
4 changed files with 14 additions and 12 deletions

View file

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