8000 writing files can get rid of the content afterwards · vercel/next.js@735afd6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 735afd6

Browse files
committed
writing files can get rid of the content afterwards
1 parent e66680d commit 735afd6

File tree

1 file changed

+1
-1
lines changed
  • turbopack/crates/turbopack-core/src

1 file changed

+1
-1
lines changed

turbopack/crates/turbopack-core/src/asset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl AssetContent {
8787

8888
#[turbo_tasks::function]
8989
pub async fn write(self: Vc<Self>, path: Vc<FileSystemPath>) -> Result<()> {
90-
let this = self.await?;
90+
let this = self.final_read_hint().await?;
9191
match &*this {
9292
AssetContent::File(file) => {
9393
let _ = path.write(**file);

0 commit comments

Comments
 (0)
0