mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-28 06:53:42 +08:00
merge-profiles wrote the merged profile to `<output>.tmp` and renamed it into place. Opening that fixed path followed an existing link there and truncated its target. The temporary file is now created exclusively with createUniqueFile next to the output, as emission does, and is removed when writing fails or the stream reports an error.