8000 Turbopack: writing files can get rid of the content afterwards by sokra · Pull Request #76046 · vercel/next.js · GitHub
[go: up one dir, main page]

Skip to content

Turbopack: writing files can get rid of the content afterwards #76046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: canary
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion turbopack/crates/turbopack-core/src/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl AssetContent {

#[turbo_tasks::function]
pub async fn write(self: Vc<Self>, path: FileSystemPath) -> Result<()> {
let this = self.await?;
let this = self.final_read_hint().await?;
match &*this {
AssetContent::File(file) => {
let _ = path.write(**file);
Expand Down
Loading
0