From 3d0c12d022cc5924c92c7619439c1480b6e44a7f Mon Sep 17 00:00:00 2001 From: Himanshu Sharma Date: Sat, 16 Mar 2024 02:13:51 +0530 Subject: [PATCH] worker file path corrected --- src/utils/autoDeploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/autoDeploy.ts b/src/utils/autoDeploy.ts index 8d7962f..75539ec 100644 --- a/src/utils/autoDeploy.ts +++ b/src/utils/autoDeploy.ts @@ -19,7 +19,7 @@ export const findJsonFilesRecursively = async ( await findJsonFilesRecursively(path.join(appsDir, file.name)); } else if (file.name === 'metacall.json') { const filePath = path.join(appsDir, file.name); - const desiredPath = path.join(__dirname, '/worker/index.js'); + const desiredPath = path.join(__dirname, '../worker/index.js'); const id = path.basename(appsDir); currentFile.id = id;