update
This commit is contained in:
4
package/lib/utils/is-windows.js
Normal file
4
package/lib/utils/is-windows.js
Normal file
@@ -0,0 +1,4 @@
|
||||
const isWindowsShell = (process.platform === 'win32') &&
|
||||
!/^MINGW(32|64)$/.test(process.env.MSYSTEM) && process.env.TERM !== 'cygwin'
|
||||
|
||||
exports.isWindowsShell = isWindowsShell
|
Reference in New Issue
Block a user