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