Merge pull request #13006 from SaschaNaz/lintfix

Fix latest tslint errors
This commit is contained in:
Mohamed Hegazy authored and GitHub committed 2016-12-26 11:24:25 -08:00
commit e4b81d0331
29 files changed
+81 -292

No files matched your search

+2 -2
View File
@@ -620,7 +620,7 @@ namespace ts {
break;
case "boolean":
// boolean flag has optional value true, false, others
let optValue = args[i];
const optValue = args[i];
options[opt.name] = optValue !== "false";
// consume next argument as boolean flag value
if (optValue === "false" || optValue === "true") {
@@ -778,7 +778,7 @@ namespace ts {
break;
default:
const value = options[name];
let optionDefinition = optionsNameMap[name.toLowerCase()];
const optionDefinition = optionsNameMap[name.toLowerCase()];
if (optionDefinition) {
const customTypeMap = getCustomTypeMapOfCommandLineOption(optionDefinition);
if (!customTypeMap) {