mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
sanitize yarn-node path in output (#36953)
* sanitize yarn-node path in output * Update user baselines (#58) Co-authored-by: Wesley Wigham <wwigham@gmail.com> Co-authored-by: TypeScript Bot <ts_bot@rcavanaugh.com>
This commit is contained in:
@@ -208,7 +208,8 @@ ${sanitizeDockerfileOutput(result.stderr.toString())}`;
|
||||
return result.replace(/^.*(\] (Starting)|(Finished)).*$/gm, "") // "gulp" task start/end messages (nondeterministic order)
|
||||
.replace(/^.*(\] . (finished)|(started)).*$/gm, "") // "just" task start/end messages (nondeterministic order)
|
||||
.replace(/^.*\] Respawned to PID: \d+.*$/gm, "") // PID of child is OS and system-load dependent (likely stableish in a container but still dangerous)
|
||||
.replace(/\n+/g, "\n");
|
||||
.replace(/\n+/g, "\n")
|
||||
.replace(/\/tmp\/yarn--.*?\/node/g, "");
|
||||
}
|
||||
|
||||
function sanitizeTimestamps(result: string): string {
|
||||
|
||||
Reference in New Issue
Block a user