This reverts commit 6184278faf
.
We can't upgrade to Rust 1.77 until there are Rust 1.77 Docker images
available
(https://github.com/docker-library/official-images/pull/16457).
Release Notes:
- N/A
This commit is contained in:
parent
b6201a34b9
commit
d557f8e36c
6 changed files with 7 additions and 11 deletions
|
@ -530,7 +530,7 @@ impl Project {
|
|||
if buffer_language.prettier_parser_name().is_none() {
|
||||
return Task::ready(None);
|
||||
}
|
||||
let Some(node) = self.node.clone() else {
|
||||
let Some(node) = self.node.as_ref().map(Arc::clone) else {
|
||||
return Task::ready(None);
|
||||
};
|
||||
match File::from_dyn(buffer_file).map(|file| (file.worktree_id(cx), file.abs_path(cx))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue