@@ -1052,17 +1052,19 @@ module Harness {
10521052 case 'newline' :
10531053 if ( setting . value . toLowerCase ( ) === 'crlf' ) {
10541054 options . newLine = ts . NewLineKind . CarriageReturnLineFeed ;
1055- newLine = setting . value ;
10561055 }
10571056 else if ( setting . value . toLowerCase ( ) === 'lf' ) {
10581057 options . newLine = ts . NewLineKind . LineFeed ;
1059- newLine = setting . value ;
10601058 }
10611059 else {
10621060 throw new Error ( 'Unknown option for newLine: ' + setting . value ) ;
10631061 }
10641062 break ;
10651063
1064+ case 'normalizenewline' :
1065+ newLine = setting . value ;
1066+ break ;
1067+
10661068 case 'comments' :
10671069 options . removeComments = setting . value === 'false' ;
10681070 break ;
@@ -1504,7 +1506,7 @@ module Harness {
15041506 // List of allowed metadata names
15051507 var fileMetadataNames = [ "filename" , "comments" , "declaration" , "module" ,
15061508 "nolib" , "sourcemap" , "target" , "out" , "outdir" , "noemithelpers" , "noemitonerror" ,
1507- "noimplicitany" , "noresolve" , "newline" , "newlines " , "emitbom" ,
1509+ "noimplicitany" , "noresolve" , "newline" , "normalizenewline " , "emitbom" ,
15081510 "errortruncation" , "usecasesensitivefilenames" , "preserveconstenums" ,
15091511 "includebuiltfile" , "suppressimplicitanyindexerrors" , "stripinternal" ,
15101512 "separatecompilation" , "inlinesourcemap" , "maproot" , "sourceroot" ,
0 commit comments