Skip to content

Commit 60ca23e

Browse files
authored
Update JavaScriptRunner.js
1 parent 2161362 commit 60ca23e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

static/extensions/shaman2016/JavaScriptRunner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
async _execute (code) {
8585
const wrappedCode = `(async () => {${code}})()`;
8686
try {
87-
const result = await vm.SandboxRunner.execute(wrappedCode);
87+
const result = await Scratch.SandboxRunner.execute(wrappedCode);
8888
if (result.success) {
8989
return result.value;
9090
} else {

0 commit comments

Comments
 (0)