8000 Move suppress option to appropriate place · nycdotnet/TypeScript@6658e21 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6658e21

Browse files
committed
Move suppress option to appropriate place
1 parent a99b5cb commit 6658e21

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/harness/harness.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,8 @@ namespace Harness {
904904
{ name: "includeBuiltFile", type: "string" },
905905
{ name: "file 8000 Name", type: "string" },
906906
{ name: "libFiles", type: "string" },
907-
{ name: "noErrorTruncation", type: "boolean" }
907+
{ name: "noErrorTruncation", type: "boolean" },
908+
{ name: "suppressOutputPathCheck", type: "boolean" }
908909
];
909910

910911
let optionsIndex: ts.Map<ts.CommandLineOption>;
@@ -947,9 +948,6 @@ namespace Harness {
947948
}
948949
}
949950
}
950-
else if (name === "suppressOutputPathCheck") {
951-
options.suppressOutputPathCheck = true;
952-
}
953951
else {
954952
throw new Error(`Unknown compiler option '${name}'.`);
955953
}

0 commit comments

Comments
 (0)
0