From b191e37fb65000fb94fc2f6aaf9a76c0bf7991fd Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 31 Jan 2024 19:53:37 +0100 Subject: [PATCH] fix(cli): restore other files support --- cli/sync.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/sync.ts b/cli/sync.ts index 5ff1cd1d46..e3e373e033 100644 --- a/cli/sync.ts +++ b/cli/sync.ts @@ -390,7 +390,7 @@ async function compareDynFSElement( } } return o; - } else if (k.endsWith("flow.yaml")) { + } else if (k.endsWith(".app.yaml")) { const o: any = yamlParse(v); const o2 = o["policy"]; @@ -403,6 +403,8 @@ async function compareDynFSElement( } } return o; + } else { + return o; } } for (const [k, v] of Object.entries(m1)) {