diff options
Diffstat (limited to 'deps/npm/lib/utils/is-windows-bash.js')
-rw-r--r-- | deps/npm/lib/utils/is-windows-bash.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/lib/utils/is-windows-bash.js b/deps/npm/lib/utils/is-windows-bash.js index bc4ac7db49..0a6c179680 100644 --- a/deps/npm/lib/utils/is-windows-bash.js +++ b/deps/npm/lib/utils/is-windows-bash.js @@ -1,3 +1,4 @@ 'use strict' var isWindows = require('./is-windows.js') -module.exports = isWindows && /^MINGW(32|64)$/.test(process.env.MSYSTEM) +module.exports = isWindows && + (/^MINGW(32|64)$/.test(process.env.MSYSTEM) || process.env.TERM === 'cygwin') |