Skip to content

Commit

Permalink
normalize paths
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza committed Aug 20, 2024
1 parent 0250a12 commit 8d9106c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export function readTree(rootDir: string, prefix = "", result: Record<string, st
if (statSync(realpath).isDirectory()) {
readTree(realpath, relativepath, result);
} else {
result[relativepath] = readFileSync(realpath).toString("utf8");
result[ts.normalizePath(relativepath)] = readFileSync(realpath).toString("utf8");
}
}
return result;
Expand Down

0 comments on commit 8d9106c

Please sign in to comment.