Skip to content

Commit 3e91c05

Browse files
committed
Fix bug in sandbox dependency finding
1 parent 8b3a7cb commit 3e91c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/sandbox.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ function randomID() {
411411

412412
function findDeps(code) {
413413
let deps = [], ast
414-
try { ast = acorn.parse(code) }
414+
try { ast = parse(code) }
415415
catch(e) { return deps }
416416
walk.simple(ast, {
417417
CallExpression(node) {

0 commit comments

Comments
 (0)