This commit is contained in:
Jan Prochazka
2024-12-28 15:28:34 +01:00
parent 6c9b738717
commit 317f6256f6
4 changed files with 5 additions and 219 deletions

View File

@@ -42,6 +42,8 @@ function processJsonStep(json, args) {
if (conditionMatch(item._if, args)) {
res.push(_.omit(item, ['_if']));
}
} else {
res.push(item);
}
}
return res;
@@ -120,7 +122,7 @@ function processFiles() {
function deleteOldFiles() {
const files = fs.readdirSync(outdir);
for (const file of files) {
fs.unlink(path.join(outdir, file));
fs.unlinkSync(path.join(outdir, file));
}
}