Last change
on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
313 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | module.exports = () => {
|
---|
| 4 | if (process.platform !== 'win32') {
|
---|
| 5 | return true;
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | return Boolean(process.env.CI) ||
|
---|
| 9 | Boolean(process.env.WT_SESSION) || // Windows Terminal
|
---|
| 10 | process.env.TERM_PROGRAM === 'vscode' ||
|
---|
| 11 | process.env.TERM === 'xterm-256color' ||
|
---|
| 12 | process.env.TERM === 'alacritty';
|
---|
| 13 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.