fix(cli): overwrite archived scripts

This commit is contained in:
Ruben Fiszel
2023-04-11 08:21:37 +02:00
parent db075f2ca1
commit e83de8767f
+1
View File
@@ -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))
) {