Commit f152efef authored by Tobias Koppers's avatar Tobias Koppers

writing files can get rid of the content afterwards

parent 53a46b39
...@@ -89,7 +89,7 @@ impl AssetContent { ...@@ -89,7 +89,7 @@ impl AssetContent {
#[turbo_tasks::function] #[turbo_tasks::function]
pub async fn write(self: Vc<Self>, path: FileSystemPath) -> Result<()> { pub async fn write(self: Vc<Self>, path: FileSystemPath) -> Result<()> {
let this = self.await?; let this = self.final_read_hint().await?;
match &*this { match &*this {
AssetContent::File(file) => { AssetContent::File(file) => {
let _ = path.write(**file); let _ = path.write(**file);
......
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