Skip to content

Commit c645ad1

Browse files
committed
update comment
1 parent c57008d commit c645ad1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • crates/vite_task/src/session/execute

crates/vite_task/src/session/execute/spawn.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,9 @@ where
178178
let Ok(stripped_path) = strip_result else {
179179
return None;
180180
};
181-
// On Windows, path stripping may fail due to case sensitivity or path format
182-
// differences. Treat these as outside workspace rather than failing.
181+
// On Windows, paths are possible to be still absolute after stripping the workspace root.
182+
// For example: c:\workspace\subdir\c:\workspace\subdir
183+
// Just ignore those accesses.
183184
RelativePathBuf::new(stripped_path).ok()
184185
});
185186

0 commit comments

Comments
 (0)