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

5 lines
166 B
JavaScript
Raw Normal View History

2019-12-16 18:42:21 +01:00
'use strict'
var isWindows = require('./is-windows.js')
module.exports = isWindows &&
(/^MINGW(32|64)$/.test(process.env.MSYSTEM) || process.env.TERM === 'cygwin')