Skip to content

Commit d721204

Browse files
author
Ives van Hoorne
committed
AAAH
1 parent 8edc98c commit d721204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sandbox/utils/resolve-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default (
7373
// eslint-disable-next-line eqeqeq
7474
const indexModule = modules.find(
7575
m =>
76-
m.directoryShortid == foundDirectory.id &&
76+
m.directoryShortid == foundDirectory.shortid &&
7777
compareTitle(m.title, 'index'),
7878
);
7979
if (indexModule == null) throw new Error(`Cannot find module in ${path}`);

0 commit comments

Comments
 (0)