Skip to content

Commit f36abfd

Browse files
committed
Compiler flag to specify line ending microsoft#1693 code review adjustments
1 parent 230f8b5 commit f36abfd

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
@@ -499,9 +499,9 @@ module ts {
499499
Preserve_new_lines_when_emitting_code: { code: 6057, category: DiagnosticCategory.Message, key: "Preserve new-lines when emitting code." },
500500
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." },
501501
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." },
502-
Emit_newline_Colon_CRLF_dos_or_LF_unix: { code: 6061, category: DiagnosticCategory.Message, key: "Emit newline: 'CRLF' (dos) or 'LF' (unix)." },
503-
NEWLINE: { code: 6062, category: DiagnosticCategory.Message, key: "NEWLINE" },
504-
Argument_for_newLine_option_must_be_CRLF_or_LF: { code: 6063, category: DiagnosticCategory.Error, key: "Argument for 'newLine' option must be 'CRLF' or 'LF'." },
502+
Emit_newline_Colon_CRLF_dos_or_LF_unix: { code: 6060, category: DiagnosticCategory.Message, key: "Emit newline: 'CRLF' (dos) or 'LF' (unix)." },
503+
NEWLINE: { code: 6061, category: DiagnosticCategory.Message, key: "NEWLINE" },
504+
Argument_for_newLine_option_must_be_CRLF_or_LF: { code: 6062, category: DiagnosticCategory.Error, key: "Argument for 'newLine' option must be 'CRLF' or 'LF'." },
505505
Variable_0_implicitly_has_an_1_type: { code: 7005, category: DiagnosticCategory.Error, key: "Variable '{0}' implicitly has an '{1}' type." },
506506
Parameter_0_implicitly_has_an_1_type: { code: 7006, category: DiagnosticCategory.Error, key: "Parameter '{0}' implicitly has an '{1}' type." },
507507
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
@@ -1986,15 +1986,15 @@
19861986
},
19871987
"Emit newline: 'CRLF' (dos) or 'LF' (unix).": {
19881988
"category": "Message",
1989-
"code": 6061
1989+
"code": 6060
19901990
},
19911991
"NEWLINE": {
19921992
"category": "Message",
1993-
"code": 6062
1993+
"code": 6061
19941994
},
19951995
"Argument for 'newLine' option must be 'CRLF' or 'LF'.": {
19961996
"category": "Error",
1997-
"code": 6063
1997+
"code": 6062
19981998
},
19991999

20002000

0 commit comments

Comments
 (0)