Move suppress option to appropriate place

This commit is contained in:
Ryan Cavanaugh committed 2016-02-11 14:35:33 -08:00
1 parent a99b5cb132
commit 6658e2149c
1 file changed
+2 -4
+2 -4
View File
@@ -904,7 +904,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>;
@@ -947,9 +948,6 @@ namespace Harness {
}
}
}
else if (name === "suppressOutputPathCheck") {
options.suppressOutputPathCheck = true;
}
else {
throw new Error(`Unknown compiler option '${name}'.`);
}