diff --git a/lib/system/supports-colors.js b/lib/system/supports-colors.js index 68034fc..d2b02a3 100644 --- a/lib/system/supports-colors.js +++ b/lib/system/supports-colors.js @@ -76,7 +76,7 @@ function supportsColor(stream) { return 0; } - const min = forceColor ? 1 : 0; + var min = forceColor ? 1 : 0; if (process.platform === 'win32') { // Node.js 7.5.0 is the first version of Node.js to include a patch to @@ -143,7 +143,7 @@ function supportsColor(stream) { } function getSupportLevel(stream) { - const level = supportsColor(stream); + var level = supportsColor(stream); return translateLevel(level); }