File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ module ts {
38
38
}
39
39
40
40
function trySetLanguageAndTerritory ( language : string , territory : string , errors : Diagnostic [ ] ) : boolean {
41
- var compilerFilePath = sys . getExecutingFilePath ( ) ;
41
+ var compilerFilePath = normalizePath ( sys . getExecutingFilePath ( ) ) ;
42
42
var containingDirectoryPath = getDirectoryPath ( compilerFilePath ) ;
43
43
44
44
var filePath = combinePaths ( containingDirectoryPath , language ) ;
@@ -62,7 +62,7 @@ module ts {
62
62
return false ;
63
63
}
64
64
try {
65
- localizedDiagnosticMessages = JSON . parse ( fileContents ) ;
65
+ ts . localizedDiagnosticMessages = JSON . parse ( fileContents ) ;
66
66
}
67
67
catch ( e ) {
68
68
errors . push ( createCompilerDiagnostic ( Diagnostics . Corrupted_locale_file_0 , filePath ) ) ;
You can’t perform that action at this time.
0 commit comments