V3
This commit is contained in:
parent
54d42c6808
commit
519a3aacf8
@ -4,7 +4,6 @@ const { functionToEval, filePath, data, patterns, extensions, filenames, aimodel
|
|||||||
|
|
||||||
async function runEval() {
|
async function runEval() {
|
||||||
try {
|
try {
|
||||||
// Evaluate the function passed from index.js
|
|
||||||
const result = eval(functionToEval);
|
const result = eval(functionToEval);
|
||||||
parentPort.postMessage(result);
|
parentPort.postMessage(result);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user