project_panel: Fix create entry with trailing dot duplicating on windows (#44524)

Release Notes:

- Fixed an issue where creating a file through the project panel with a
trailing dot in its name would duplicate the entries with and without
the dot

Co-authored by: Smit Barmase <smit@zed.dev>
This commit is contained in:
Lukas Wirth
2025-12-10 10:33:49 +00:00
committed by GitHub
parent a8e2dc2f25
commit 30597a0cba
3 changed files with 81 additions and 3 deletions
+3 -1
View File
@@ -73,7 +73,9 @@ impl LspInstaller for GoLspAdapter {
delegate.show_notification(NOTIFICATION_MESSAGE, cx);
})?
}
anyhow::bail!("cannot install gopls");
anyhow::bail!(
"Could not install the Go language server `gopls`, because `go` was not found."
);
}
let release =