languages: Pass fs into the init function (#38007)
Release Notes: - N/A --------- Co-authored-by: Cole Miller <cole@zed.dev>
This commit is contained in:
co-authored by
Cole Miller
parent
46aa05e240
commit
3cb3f01406
@@ -159,7 +159,6 @@ impl TaskStore {
|
||||
}
|
||||
|
||||
pub fn local(
|
||||
fs: Arc<dyn Fs>,
|
||||
buffer_store: WeakEntity<BufferStore>,
|
||||
worktree_store: Entity<WorktreeStore>,
|
||||
toolchain_store: Arc<dyn LanguageToolchainStore>,
|
||||
@@ -171,7 +170,7 @@ impl TaskStore {
|
||||
downstream_client: None,
|
||||
environment,
|
||||
},
|
||||
task_inventory: Inventory::new(fs, cx),
|
||||
task_inventory: Inventory::new(cx),
|
||||
buffer_store,
|
||||
toolchain_store,
|
||||
worktree_store,
|
||||
@@ -179,7 +178,6 @@ impl TaskStore {
|
||||
}
|
||||
|
||||
pub fn remote(
|
||||
fs: Arc<dyn Fs>,
|
||||
buffer_store: WeakEntity<BufferStore>,
|
||||
worktree_store: Entity<WorktreeStore>,
|
||||
toolchain_store: Arc<dyn LanguageToolchainStore>,
|
||||
@@ -192,7 +190,7 @@ impl TaskStore {
|
||||
upstream_client,
|
||||
project_id,
|
||||
},
|
||||
task_inventory: Inventory::new(fs, cx),
|
||||
task_inventory: Inventory::new(cx),
|
||||
buffer_store,
|
||||
toolchain_store,
|
||||
worktree_store,
|
||||
|
||||
Reference in New Issue
Block a user