Skip to content

Commit 20736f9

Browse files
chore: add comment about trace fix (#10040)
### Description Merged a little too quickly, forgot to add comment per @chris-olszewski's ask ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
1 parent 3606f1d commit 20736f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/turbo-trace/src/tracer.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,9 @@ impl Tracer {
454454
};
455455

456456
for mut import in imported_files {
457+
// Windows has this annoying habit of abbreviating paths
458+
// like `C:\Users\Admini~1` instead of `C:\Users\Administrator`
459+
// We canonicalize to get the proper, full length path
457460
if cfg!(windows) {
458461
match import.to_realpath() {
459462
Ok(path) => {

0 commit comments

Comments
 (0)