atcheck/lsscanner/new_ubuntu/node_modules/npm/lib/utils/is-windows-bash.js

5 lines
166 B
JavaScript

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