Skip to content

Commit 447e8c5

Browse files
committed
Add another filter for just output
1 parent 05e9b0e commit 447e8c5

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
@@ -185,7 +185,8 @@ function stripRushStageNumbers(result: string): string {
185185
* so we purge as much of the gulp output as we can
186186
*/
187187
function sanitizeUnimportantGulpOutput(result: string): string {
188-
return result.replace(/^.*(\] (Starting)|(Finished)).*$/gm, "") // task start/end messages (nondeterministic order)
188+
return result.replace(/^.*(\] (Starting)|(Finished)).*$/gm, "") // "gulp" task start/end messages (nondeterministic order)
189+
.replace(/^.*(\] . (finished)|(started)).*$/gm, "") // "just" task start/end messages (nondeterministic order)
189190
.replace(/^.*\] Respawned to PID: \d+.*$/gm, "") // PID of child is OS and system-load dependent (likely stableish in a container but still dangerous)
190191
.replace(/\n+/g, "\n");
191192
}

0 commit comments

Comments
 (0)