Created
September 16, 2017 19:29
-
-
Save carlosmarte/85c2f549eaddae742331d3b1ba0d8bb2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const isWindows = process.platform === 'win32'; | |
const isWindowsBash = isWindows && /^MINGW(32|64)$/.test(process.env.MSYSTEM); | |
const isWindowsShell = isWindows && !isWindowsBash; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment