4 ms·
There's also more to it than checking process.platform: 'process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE)
by datpuz 7y ago
There's also more to it than checking process.platform: 'process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE)
- caspervonb 7y agoChecking for Cygwin is a false positive (IMHO at-least)