| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4c5c63f commit a2552ab
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -781,7 +781,7 @@ const fatalExceptionStackEnhancers = { | |||
| 781 | 781 | // However, fatal error are handled differently and we cannot easily | |
| 782 | 782 | // highlight them. On Windows, detecting whether a console supports | |
| 783 | 783 | // ANSI escape sequences is not reliable. | |
| 784 | - if (process.platform === 'win32') { | ||
| 784 | + if (isWindows) { | ||
| 785 | 785 | const info = internalBinding('os').getOSInformation(); | |
| 786 | 786 | const ver = ArrayPrototypeMap(StringPrototypeSplit(info[2], '.'), | |
| 787 | 787 | Number); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments