From e83de8767f2b136bcc8c083520ba925c2e93ecdb Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 11 Apr 2023 08:21:37 +0200 Subject: [PATCH] fix(cli): overwrite archived scripts --- cli/script.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/script.ts b/cli/script.ts index 128bc40f1d..8e3b8f54f8 100644 --- a/cli/script.ts +++ b/cli/script.ts @@ -142,6 +142,7 @@ export async function handleFile( typed.summary === remote.summary && typed.is_template === remote.is_template && typed.kind == remote.kind && + !remote.archived && remote?.lock == typed.lock?.join("\n") && JSON.stringify(typed.schema) == JSON.stringify(remote.schema)) ) {