File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
import * as os from "os" ;
2
2
import * as platform from "vs/base/common/platform" ;
3
+ import * as browser from "vs/base/browser/browser" ;
3
4
4
5
// tslint:disable no-any to override const
5
6
@@ -22,4 +23,4 @@ if (platform.language === "en-US") {
22
23
23
24
// This is used for keybindings, and in one place to choose between \r\n and \n
24
25
// (which we change to use platform.isWindows instead).
25
- ( platform as any ) . OS = ( platform . isMacintosh ? platform . OperatingSystem . Macintosh : ( platform . isWindows ? platform . OperatingSystem . Windows : platform . OperatingSystem . Linux ) ) ;
26
+ ( platform as any ) . OS = ( browser . isMacintosh ? platform . OperatingSystem . Macintosh : ( browser . isWindows ? platform . OperatingSystem . Windows : platform . OperatingSystem . Linux ) ) ;
You can’t perform that action at this time.
0 commit comments