File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export default function evaluateJS(
5151 modules ,
5252 directories ,
5353 manifest ,
54- depth ,
54+ depth
5555) {
5656 try {
5757 const requires = [ ] ;
@@ -70,15 +70,15 @@ export default function evaluateJS(
7070 path ,
7171 modules ,
7272 directories ,
73- mainModule . directoryShortid ,
73+ mainModule . directoryShortid
7474 ) ;
7575 if ( mainModule === module ) {
7676 throw new Error ( `${ mainModule . title } is importing itself` ) ;
7777 }
7878
7979 if ( ! module ) throw new Error ( `Cannot find module in path: ${ path } ` ) ;
8080
81- requires . push ( getId ( sandboxId , module . id ) ) ;
81+ requires . push ( getId ( sandboxId , module ) ) ;
8282 // Check if this module has been evaluated before, if so return that
8383 const cache = moduleCache . get ( getId ( sandboxId , module ) ) ;
8484
@@ -90,7 +90,7 @@ export default function evaluateJS(
9090 modules ,
9191 directories ,
9292 manifest ,
93- depth + 1 ,
93+ depth + 1
9494 ) ;
9595 }
9696 } ;
You can’t perform that action at this time.
0 commit comments