Fixed line comment

This commit is contained in:
EpicKiwi
2023-10-12 00:41:58 +02:00
parent 4fdfdbe89f
commit d97ccebb9b

View File

@ -18,9 +18,9 @@ const tryCatchWrapper = (
return new Promise((resolve, _) => {
try {
Function(
`"use strict";try{${codeReplace(
code
)}} catch (e) {console.log(e); _reportError(e);};`
`"use strict";try{
${codeReplace(code)}; /* break block comments */;
} catch (e) {console.log(e); _reportError(e);};`
).call(application.api);
resolve(true);
} catch (error) {