Skip to content

Commit

Permalink
Properly load RTPs this time
Browse files Browse the repository at this point in the history
  • Loading branch information
melody-rs committed Jun 29, 2024
1 parent f34e61a commit f671112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/filesystem/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ impl FileSystem {
}
}

let path = camino::Utf8PathBuf::from("RTP").join(rtp);
let path = filesystem.root_path().join("RTP").join(rtp);
if let Ok(exists) = filesystem.exists(&path) {
if exists {
paths.push(path);
Expand Down Expand Up @@ -347,7 +347,7 @@ impl FileSystem {
}
}

let path = camino::Utf8PathBuf::from("RTP").join(rtp);
let path = filesystem.root_path().join("RTP").join(rtp);
if let Ok(exists) = filesystem.exists(&path) {
if exists {
paths.push(path);
Expand Down

0 comments on commit f671112

Please sign in to comment.