Skip to content

Commit 49bbca0

Browse files
committed
write tasks doesn't need to be session dependent, as effects will restore
1 parent c7dea99 commit 49bbca0

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
@@ -696,7 +696,6 @@ impl FileSystem for DiskFileSystem {
696696

697697
#[turbo_tasks::function(fs)]
698698
async fn write(&self, fs_path: Vc<FileSystemPath>, content: Vc<FileContent>) -> Result<()> {
699-
mark_session_dependent();
700699
let full_path = self.to_sys_path(fs_path).await?;
701700
let content = content.await?;
702701
let inner = self.inner.clone();
@@ -826,7 +825,6 @@ impl FileSystem for DiskFileSystem {
826825

827826
#[turbo_tasks::function(fs)]
828827
async fn write_link(&self, fs_path: Vc<FileSystemPath>, target: Vc<LinkContent>) -> Result<()> {
829-
mark_session_dependent();
830828
let full_path = self.to_sys_path(fs_path).await?;
831829
let content = target.await?;
832830
let inner = self.inner.clone();

0 commit comments

Comments
 (0)