Fix rojo plugin install by adding Vfs::exists (#1169)

This commit is contained in:
Ken Loeffler 2025-11-21 15:04:34 +00:00 • committed by GitHub
parent 015b5bda14
commit 93e9c51204
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 51 additions and 9 deletions

View file

@ -295,7 +295,7 @@ impl Project {
// Check for default projects.
for default_project_name in DEFAULT_PROJECT_NAMES {
let project_path = path.join(default_project_name);
if project_path.exists() {
if let Ok(true) = vfs.exists(&project_path) {
return Self::load_exact(vfs, &project_path, None);
}
}