Clean up environment loading a bit (#28356)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
b687a5e56d
commit
f0b7f355a2
8 changed files with 100 additions and 101 deletions
|
@ -3776,7 +3776,7 @@ impl Repository {
|
|||
.upgrade()
|
||||
.ok_or_else(|| anyhow!("missing project environment"))?
|
||||
.update(cx, |project_environment, cx| {
|
||||
project_environment.get_environment(Some(work_directory_abs_path.clone()), cx)
|
||||
project_environment.get_directory_environment(work_directory_abs_path.clone(), cx)
|
||||
})?
|
||||
.await
|
||||
.unwrap_or_else(|| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue