Skip to content

Commit

Permalink
fix: forgot to make the target relative
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed May 31, 2020
1 parent a084732 commit d612683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-haste-map/src/crawlers/watchman.ts
Expand Up @@ -224,7 +224,7 @@ export = async function watchmanCrawl(
const mtime = testModified(metaData, link.mtime_ms);
dependencyLinks.set(
relativePath,
mtime !== 0 ? [target, mtime] : metaData!,
mtime !== 0 ? [fastPath.relative(rootDir, target), mtime] : metaData!,
);

if (fs.statSync(target).isDirectory() && isValidRoot(target)) {
Expand Down

0 comments on commit d612683

Please sign in to comment.