mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Fix walked_roots to store raw paths, not canonical
This commit is contained in:
parent
5ff0ed3f99
commit
e86ebdadbc
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ fn prefetch_project_files(project: &Project, sync_scripts_only: bool) -> io::Res
|
|||
}
|
||||
let canonical_root = std::fs::canonicalize(root).unwrap_or_else(|_| root.to_path_buf());
|
||||
if canonical_root != canonical_folder {
|
||||
walked_roots.push(canonical_root.clone());
|
||||
walked_roots.push(root.clone());
|
||||
}
|
||||
if canonical_root == canonical_folder {
|
||||
// $path points to the project folder itself -- shallow walk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue