We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c57008d commit c645ad1Copy full SHA for c645ad1
1 file changed
crates/vite_task/src/session/execute/spawn.rs
@@ -178,8 +178,9 @@ where
178
let Ok(stripped_path) = strip_result else {
179
return None;
180
};
181
- // On Windows, path stripping may fail due to case sensitivity or path format
182
- // differences. Treat these as outside workspace rather than failing.
+ // On Windows, paths are possible to be still absolute after stripping the workspace root.
+ // For example: c:\workspace\subdir\c:\workspace\subdir
183
+ // Just ignore those accesses.
184
RelativePathBuf::new(stripped_path).ok()
185
});
186
0 commit comments