fix: improve lockfile handling for cli

This commit is contained in:
Ruben Fiszel
2024-01-17 23:59:35 +01:00
parent 3b84e9d3c4
commit 36802fa811
+5 -1
View File
@@ -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 });
}
}