(raw: string)
| 637 | } |
| 638 | const dir = dirname(shimPath) |
| 639 | const resolveTarget = (raw: string) => |
| 640 | resolve(dir, ...raw.split(/[/\\]+/).filter(Boolean)) |
| 641 | for (const match of text.matchAll(winShimJsPattern)) { |
| 642 | const target = resolveTarget(match[1]) |
| 643 | if (statSync(target, { throwIfNoEntry: false })?.isFile()) |
no test coverage detected