Skip to content

Commit f45b2f3

Browse files
committed
win test
1 parent ab11579 commit f45b2f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/TsconfigPathsUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ function pathsToResolveOptions(aliases) {
263263
modules.push(
264264
.../** @type {Array<string>} */ (opt.alias)
265265
.map((dir) => {
266-
if (/\/\*$/.test(dir)) {
267-
return dir.replace(/\/\*$/, "");
266+
if (/[/\\]\*$/.test(dir)) {
267+
return dir.replace(/[/\\]\*$/, "");
268268
}
269269
return "";
270270
})

0 commit comments

Comments
 (0)