| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 305c022 commit a95e344
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -159,8 +159,15 @@ function getColorDepth(env = process.env) { | |||
| 159 | 159 | } | |
| 160 | 160 | ||
| 161 | 161 | if (env.CI) { | |
| 162 | - if ('TRAVIS' in env || 'CIRCLECI' in env || 'APPVEYOR' in env || | ||
| 163 | - 'GITLAB_CI' in env || env.CI_NAME === 'codeship') { | ||
| 162 | + if ([ | ||
| 163 | + 'APPVEYOR', | ||
| 164 | + 'BUILDKITE', | ||
| 165 | + 'CIRCLECI', | ||
| 166 | + 'DRONE', | ||
| 167 | + 'GITHUB_ACTIONS', | ||
| 168 | + 'GITLAB_CI', | ||
| 169 | + 'TRAVIS', | ||
| 170 | + ].some((sign) => sign in env) || env.CI_NAME === 'codeship') { | ||
| 164 | 171 | return COLORS_256; | |
| 165 | 172 | } | |
| 166 | 173 | return COLORS_2; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments