change error message

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

No files matched your search

+1 -1
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;
}