Fixes
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
parent
83341478e9
commit
88f323fb16
5 changed files with 10 additions and 15 deletions
|
|
@ -10,12 +10,12 @@ const {stdout: stdoutColor, stderr: stderrColor} = supportsColor;
|
|||
const {isArray} = Array;
|
||||
|
||||
// `supportsColor.level` → `ansiStyles.color[name]` mapping
|
||||
const levelMapping = new Set([
|
||||
const levelMapping = [
|
||||
'ansi256',
|
||||
'ansi256',
|
||||
'ansi256',
|
||||
'ansi16m'
|
||||
]);
|
||||
];
|
||||
|
||||
const styles = Object.create(null);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue