We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab0f782 commit 8edc98cCopy full SHA for 8edc98c
src/sandbox/utils/resolve-module.js
@@ -26,7 +26,7 @@ export default (
26
27
if (pathPart === '..') {
28
// Find the parent
29
- const dir = directories.find(d => d.id === dirId);
+ const dir = directories.find(d => d.shortid === dirId);
30
if (dir == null) throw new Error(`Cannot find module in ${path}`);
31
32
return dir.directoryShortid;
0 commit comments