mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Fix: test coverage node_modules exclusion in Windows (#12691)
This commit is contained in:
@@ -598,7 +598,7 @@ const Scanner = struct {
|
||||
};
|
||||
|
||||
// always ignore node_modules.
|
||||
if (strings.contains(slice, "/" ++ "node_modules" ++ "/")) {
|
||||
if (strings.contains(slice, "/node_modules/") or strings.contains(slice, "\\node_modules\\")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user