You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 313B

12345678910111213
  1. 'use strict';
  2. module.exports = () => {
  3. if (process.platform !== 'win32') {
  4. return true;
  5. }
  6. return Boolean(process.env.CI) ||
  7. Boolean(process.env.WT_SESSION) || // Windows Terminal
  8. process.env.TERM_PROGRAM === 'vscode' ||
  9. process.env.TERM === 'xterm-256color' ||
  10. process.env.TERM === 'alacritty';
  11. };