Skip to content

Commit 67e4239

Browse files
committed
write tasks doesn't need to be session dependent, as effects will restore
1 parent 40ffaa1 commit 67e4239

File tree

1 file changed

+0
-2
lines changed
  • turbopack/crates/turbo-tasks-fs/src

1 file changed

+0
-2
lines changed

turbopack/crates/turbo-tasks-fs/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,6 @@ impl FileSystem for DiskFileSystem {
721721

722722
#[turbo_tasks::function(fs)]
723723
async fn write(&self, fs_path: Vc<FileSystemPath>, content: Vc<FileContent>) -> Result<()> {
724-
mark_session_dependent();
725724
let full_path = self.to_sys_path(fs_path).await?;
726725
let content = content.await?;
727726
let inner = self.inner.clone();
@@ -844,7 +843,6 @@ impl FileSystem for DiskFileSystem {
844843

845844
#[turbo_tasks::function(fs)]
846845
async fn write_link(&self, fs_path: Vc<FileSystemPath>, target: Vc<LinkContent>) -> Result<()> {
847-
mark_session_dependent();
848846
let full_path = self.to_sys_path(fs_path).await?;
849847
let content = target.await?;
850848
let inner = self.inner.clone();

0 commit comments

Comments
 (0)