mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Move suppress option to appropriate place
This commit is contained in:
1 parent
a99b5cb132
commit
6658e2149c
1 file changed
+2
-4
@@ -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}'.`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user