change error message

This commit is contained in:
Yuichi Nukiyama
2016-03-29 06:40:34 +09:00
parent b16f8e1be4
commit e461d12cf9
2 changed files with 5 additions and 5 deletions

View File

@@ -668,7 +668,7 @@ namespace ts {
}
}
if (hasProperty(json, "excludes") && !hasProperty(json, "exclude")) {
errors.push(createCompilerDiagnostic(Diagnostics.Option_excludes_is_invalid_You_should_use_exclude));
errors.push(createCompilerDiagnostic(Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));
}
return fileNames;
}

View File

@@ -2243,10 +2243,6 @@
"category": "Error",
"code": 5062
},
"Option 'excludes' is invalid. You should use 'exclude'": {
"category": "Error",
"code": 5063
},
"Concatenate and emit output to single file.": {
"category": "Message",
@@ -2624,6 +2620,10 @@
"category": "Message",
"code": 6113
},
"Unknown option 'excludes'. Did you mean 'exclude'?": {
"category": "Error",
"code": 6114
},
"Variable '{0}' implicitly has an '{1}' type.": {
"category": "Error",