You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openserverless.apache.org by ms...@apache.org on 2025/11/02 06:37:45 UTC

(openserverless-task) branch main updated: fix undeploy

This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-task.git


The following commit(s) were added to refs/heads/main by this push:
     new bd6dc40  fix undeploy
bd6dc40 is described below

commit bd6dc407eeec3684fc31411c9a40c38384839d15
Author: Michele Sciabarra <ms...@apache.org>
AuthorDate: Sun Nov 2 06:37:09 2025 +0000

    fix undeploy
---
 ide/deploy/syncDeployInfo.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ide/deploy/syncDeployInfo.js b/ide/deploy/syncDeployInfo.js
index 6865019..943f4cf 100644
--- a/ide/deploy/syncDeployInfo.js
+++ b/ide/deploy/syncDeployInfo.js
@@ -64,6 +64,9 @@ export function syncDeployInfo(packages, deployments) {
         packageActions: packageActions
     };
 
+    if (!existsSync('.ops')) {
+        mkdirSync('.ops', { recursive: true });
+    }
     writeFileSync('.ops/deployment.json', JSON.stringify(deploymentInfo, null, 2));
     console.log("> Saved deployment information to .ops/deployment.json");
 }