mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +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());
|
let canonical_root = std::fs::canonicalize(root).unwrap_or_else(|_| root.to_path_buf());
|
||||||
if canonical_root != canonical_folder {
|
if canonical_root != canonical_folder {
|
||||||
walked_roots.push(canonical_root.clone());
|
walked_roots.push(root.clone());
|
||||||
}
|
}
|
||||||
if canonical_root == canonical_folder {
|
if canonical_root == canonical_folder {
|
||||||
// $path points to the project folder itself -- shallow walk
|
// $path points to the project folder itself -- shallow walk
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue