Unverified Commit fcfaf737 authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

test: make Turbopack portability snapshots deterministic in CI

Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
parent 26ef468d
...@@ -1720,8 +1720,8 @@ impl FileSystem for DiskFileSystem { ...@@ -1720,8 +1720,8 @@ impl FileSystem for DiskFileSystem {
// The error is part of this task's output. Use the location-independent path instead // The error is part of this task's output. Use the location-independent path instead
// of the absolute one, so that the output doesn't change when the project is moved. // of the absolute one, so that the output doesn't change when the project is moved.
Err(err) => { Err(err) => {
return Err(anyhow::Error::new(err) let message = turbofmt!("reading metadata for {fs_path}").await?;
.context(turbofmt!("reading metadata for {fs_path}").await?)); return Err(anyhow::Error::new(err).context(message));
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment