Skip to content

Commit

Permalink
Make ts-node fix work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio committed Aug 25, 2022
1 parent 6f13ac8 commit ad3f865
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -166,7 +166,7 @@ export function analyzeModuleNotFoundError(error: any, configPath: string) {
.filter((x) => x.file !== null)
.map((x) => x.file!)
// ignore frame related to source maps support
.filter((x) => !x.includes("@cspotcode/source-map-support"))
.filter((x) => !x.includes(path.join("@cspotcode", "source-map-support")))
.find((x) => path.isAbsolute(x));

if (throwingFile === null || throwingFile === undefined) {
Expand Down

0 comments on commit ad3f865

Please sign in to comment.