We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8edc98c commit d721204Copy full SHA for d721204
src/sandbox/utils/resolve-module.js
@@ -73,7 +73,7 @@ export default (
73
// eslint-disable-next-line eqeqeq
74
const indexModule = modules.find(
75
m =>
76
- m.directoryShortid == foundDirectory.id &&
+ m.directoryShortid == foundDirectory.shortid &&
77
compareTitle(m.title, 'index'),
78
);
79
if (indexModule == null) throw new Error(`Cannot find module in ${path}`);
0 commit comments