bot/node_modules/npm/lib/utils/is-windows-bash.js

4 lines
155 B
JavaScript

const isWindows = require('./is-windows.js')
module.exports = isWindows &&
(/^MINGW(32|64)$/.test(process.env.MSYSTEM) || process.env.TERM === 'cygwin')