fix(cli): improve flow sync for windows

This commit is contained in:
Ruben Fiszel
2023-12-15 02:10:17 +01:00
parent 011813654d
commit 65e18abe7d
+1 -1
View File
@@ -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);