mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-29 11:00:11 +00:00
Update supports-colors.js
This commit is contained in:
parent
a0bb404163
commit
493733638d
@ -29,7 +29,7 @@ var hasFlag = require('./has-flag.js');
|
||||
|
||||
var env = process.env;
|
||||
|
||||
let forceColor;
|
||||
var forceColor;
|
||||
if (hasFlag('no-color') ||
|
||||
hasFlag('no-colors') ||
|
||||
hasFlag('color=false')) {
|
||||
@ -50,7 +50,7 @@ function translateLevel(level) {
|
||||
}
|
||||
|
||||
return {
|
||||
level,
|
||||
level: level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user