Move suppress option to appropriate place

This commit is contained in:
Ryan Cavanaugh 2016-02-10 12:51:21 -08:00
parent 8c9baf81c5
commit 259a89e2cf

View File

@ -895,7 +895,8 @@ namespace Harness {
{ name: "includeBuiltFile", type: "string" },
{ name: "fileName", type: "string" },
{ name: "libFiles", type: "string" },
{ name: "noErrorTruncation", type: "boolean" }
{ name: "noErrorTruncation", type: "boolean" },
{ name: "suppressOutputPathCheck", type: "boolean" }
];
let optionsIndex: ts.Map<ts.CommandLineOption>;
@ -938,9 +939,6 @@ namespace Harness {
}
}
}
else if (name === "suppressOutputPathCheck") {
options.suppressOutputPathCheck = true;
}
else {
throw new Error(`Unknown compiler option '${name}'.`);
}