From 65e18abe7d17334391b9326cd9968e64fa9f6586 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 15 Dec 2023 02:10:17 +0100 Subject: [PATCH] fix(cli): improve flow sync for windows --- cli/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/types.ts b/cli/types.ts index 555dc6a784..c6eeb5502f 100644 --- a/cli/types.ts +++ b/cli/types.ts @@ -110,7 +110,7 @@ export async function pushObj( } else if (typeEnding === "variable") { await pushVariable(workspace, p, befObj, newObj, plainSecrets); } else if (typeEnding === "flow") { - const flowName = p.split(".flow/")[0]; + const flowName = p.split(".flow" + path.sep)[0]; await pushFlow(workspace, flowName, flowName + ".flow", message); } else if (typeEnding === "resource") { await pushResource(workspace, p, befObj, newObj);