From 0dc25080bd0cd4ecc00ea098dbe037a125c52850 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Wed, 10 Jul 2024 11:12:59 +0200 Subject: [PATCH] fix: don't disable colors in github actions by default --- src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 879bc97..f03eec2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -68,7 +68,6 @@ export function isSupported(isTTY = false) { const argv = p?.argv || [] const nodeEnabled = !('NO_COLOR' in env || argv.includes('--no-color')) && - !('GITHUB_ACTIONS' in env) && ('FORCE_COLOR' in env || argv.includes('--color') || p?.platform === 'win32' ||