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 11import * as os from "os" ;
22import * as platform from "vs/base/common/platform" ;
3+ import * as browser from "vs/base/browser/browser" ;
34
45// tslint:disable no-any to override const
56
@@ -22,4 +23,4 @@ if (platform.language === "en-US") {
2223
2324// This is used for keybindings, and in one place to choose between \r\n and \n
2425// (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