Skip to content

Commit a4fd2b3

Browse files
committed
Strip only maybe-present timestamps
1 parent 3621c58 commit a4fd2b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/testRunner/externalCompileRunner.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ function sanitizeTimestamps(result: string): string {
197197
.replace(/\/\d+-\d+-[\d_TZ]+-debug.log/g, "\/XXXX-XX-XXXXXXXXX-debug.log")
198198
.replace(/\d+(\.\d+)? sec(onds?)?/g, "? seconds")
199199
.replace(/\d+(\.\d+)? min(utes?)?/g, "")
200-
.replace(/\d+(\.\d+)?( m)?s/g, "?s");
200+
.replace(/\d+(\.\d+)?( m)?s/g, "?s")
201+
.replace(/ \(\?s\)/g, "");
201202
}
202203

203204
function sanitizeVersionSpecifiers(result: string): string {

0 commit comments

Comments
 (0)