diff --git a/cli/sync.ts b/cli/sync.ts index fcf3bca2cb..eb82ff85f7 100644 --- a/cli/sync.ts +++ b/cli/sync.ts @@ -383,7 +383,11 @@ async function compareDynFSElement( } for (const [k] of Object.entries(m2)) { - if (m1[k] === undefined) { + if ( + m1[k] === undefined && + !k?.endsWith(".script.yaml") && + !k?.endsWith(".script.json") + ) { changes.push({ name: "deleted", path: k }); } }