Skip to content

Commit 85c6af9

Browse files
author
Ives van Hoorne
committed
Fix quick resolving of path
Fixes date-fns/date-fns#862
1 parent 76b9252 commit 85c6af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export default class Manager {
496496
}
497497

498498
// Quick try
499-
const directPath = pathUtils.join(currentPath, shimmedPath);
499+
const directPath = pathUtils.join(dirredPath, shimmedPath);
500500
const directModulePath = this.transpiledModules[directPath];
501501
if (directModulePath) {
502502
this.cachedPaths[dirredPath][path] = directPath;

0 commit comments

Comments
 (0)