diff --git a/src/workers/vm/vm-worker.ts b/src/workers/vm/vm-worker.ts index 1f95dfde00eb..d9f674b15517 100644 --- a/src/workers/vm/vm-worker.ts +++ b/src/workers/vm/vm-worker.ts @@ -39,7 +39,7 @@ const init = Module().then(m => { data, }) } - m.jacsStart() + m.devsStart() return m }) @@ -55,7 +55,7 @@ const handlers: { [index: string]: (props: any) => object | Promise } = deploy: async (props: VMDeployRequest) => { const { binary, debugInfo, restart } = props const Module = await init - const verificationError = Module.jacsDeploy(binary) + const verificationError = Module.devsDeploy(binary) if (verificationError != 0) { console.log("verification error: " + verificationError) return { verificationError }