Skip to content

Commit bcdf5bb

Browse files
committed
Compiler flag to specify line ending microsoft#1693 code review adjustments
1 parent c783e37 commit bcdf5bb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: src/compiler/diagnosticInformationMap.generated.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,9 @@ module ts {
502502
Preserve_new_lines_when_emitting_code: { code: 6057, category: DiagnosticCategory.Message, key: "Preserve new-lines when emitting code." },
503503
Specifies_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir: { code: 6058, category: DiagnosticCategory.Message, key: "Specifies the root directory of input files. Use to control the output directory structure with --outDir." },
504504
File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files: { code: 6059, category: DiagnosticCategory.Error, key: "File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files." },
505-
Emit_newline_Colon_CRLF_dos_or_LF_unix: { code: 6061, category: DiagnosticCategory.Message, key: "Emit newline: 'CRLF' (dos) or 'LF' (unix)." },
506-
NEWLINE: { code: 6062, category: DiagnosticCategory.Message, key: "NEWLINE" },
507-
Argument_for_newLine_option_must_be_CRLF_or_LF: { code: 6063, category: DiagnosticCategory.Error, key: "Argument for 'newLine' option must be 'CRLF' or 'LF'." },
505+
Emit_newline_Colon_CRLF_dos_or_LF_unix: { code: 6060, category: DiagnosticCategory.Message, key: "Emit newline: 'CRLF' (dos) or 'LF' (unix)." },
506+
NEWLINE: { code: 6061, category: DiagnosticCategory.Message, key: "NEWLINE" },
507+
Argument_for_newLine_option_must_be_CRLF_or_LF: { code: 6062, category: DiagnosticCategory.Error, key: "Argument for 'newLine' option must be 'CRLF' or 'LF'." },
508508
Variable_0_implicitly_has_an_1_type: { code: 7005, category: DiagnosticCategory.Error, key: "Variable '{0}' implicitly has an '{1}' type." },
509509
Parameter_0_implicitly_has_an_1_type: { code: 7006, category: DiagnosticCategory.Error, key: "Parameter '{0}' implicitly has an '{1}' type." },
510510
Member_0_implicitly_has_an_1_type: { code: 7008, category: DiagnosticCategory.Error, key: "Member '{0}' implicitly has an '{1}' type." },

Diff for: src/compiler/diagnosticMessages.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2000,15 +2000,15 @@
20002000
},
20012001
"Emit newline: 'CRLF' (dos) or 'LF' (unix).": {
20022002
"category": "Message",
2003-
"code": 6061
2003+
"code": 6060
20042004
},
20052005
"NEWLINE": {
20062006
"category": "Message",
2007-
"code": 6062
2007+
"code": 6061
20082008
},
20092009
"Argument for 'newLine' option must be 'CRLF' or 'LF'.": {
20102010
"category": "Error",
2011-
"code": 6063
2011+
"code": 6062
20122012
},
20132013

20142014

0 commit comments

Comments
 (0)