Skip to content

Commit 534a381

Browse files
committed
Remove bikeshed workarounds that are no longer necessary as of 5.3.6
1 parent 10162e7 commit 534a381

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

generators/bikeshed.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,7 @@ async function invokeBikeshed(
122122
const fatals: BikeshedResultMessage[] = [];
123123
const outcomes: BikeshedMessage[] = [];
124124

125-
const stdout = stdoutChunks
126-
.join("")
127-
// Correct unfinished JSON in case of fatal error,
128-
// which may not include a trailing comma in 5.3.5 (#3198)
129-
.replace(/\},?[\n\s]*$/, "}]")
130-
// Correct for #3197 (fixed in bikeshed 5.3.5)
131-
.replace(/\n\[/g, "");
125+
const stdout = stdoutChunks.join("");
132126

133127
try {
134128
const messages = JSON.parse(

0 commit comments

Comments
 (0)