Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f838120

Browse files
committed
Update CIRCLECI environments to return level 3 color support
chalk/supports-color@89a52f4
1 parent 4a10354 commit f838120

File tree

1 file changed

+2
-2
lines changed
  • source/vendor/supports-color
    • index.js

1 file changed

+2
-2
lines changed

source/vendor/supports-color/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
112112
}
113113

114114
if ('CI' in env) {
115-
if ('GITHUB_ACTIONS' in env || 'GITEA_ACTIONS' in env) {
115+
if (['GITHUB_ACTIONS', 'GITEA_ACTIONS', 'CIRCLECI'].some(key => key in env)) {
116116
return 3;
117117
}
118118

119-
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
119+
if (['TRAVIS', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
120120
return 1;
121121
}
122122

0 commit comments

Comments
(0)