Skip to content

Commit

Permalink
Stops using realpath in the resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Maël Nison committed Apr 12, 2018
1 parent b80dc79 commit 78999ff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/jest-resolve/src/default_resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ function resolveSync(target: Path, options: ResolverOptions): Path {
if (isDirectory(dir)) {
result = resolveAsFile(name) || resolveAsDirectory(name);
}
if (result) {
// Dereference symlinks to ensure we don't create a separate
// module instance depending on how it was referenced.
result = fs.realpathSync(result);
}
return result;
}

Expand Down

0 comments on commit 78999ff

Please sign in to comment.