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 e9eed0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-resolve/src/default_resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function resolveSync(target: Path, options: ResolverOptions): Path {
if (result) {
// Dereference symlinks to ensure we don't create a separate
// module instance depending on how it was referenced.
result = fs.realpathSync(result);
result = path.resolve(process.cwd(), result);
}
return result;
}
Expand Down

0 comments on commit e9eed0c

Please sign in to comment.