Rename is_local to is_local_or_ssh (#16717)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-08-22 21:32:51 -06:00 committed by GitHub
parent 46ecd7d190
commit 0fd5030297
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 84 additions and 85 deletions

View file

@ -516,7 +516,7 @@ impl Project {
cx: &mut ModelContext<Self>,
) -> Task<Option<(Option<PathBuf>, PrettierTask)>> {
// todo(ssh remote): prettier support
if self.is_remote() || self.ssh_session.is_some() {
if self.is_via_collab() || self.ssh_session.is_some() {
return Task::ready(None);
}
let buffer = buffer.read(cx);