Do post an overview if no changes were made

This commit is contained in:
Pieter Vander Vennet 2023-10-05 13:58:20 +02:00
parent 9e697f170f
commit 535de1fb54

View file

@ -85,9 +85,9 @@ export class Main {
changesets = changesets.filter(cs => allowedThemes.has(cs.properties.theme))
if (changesets.length == 0) {
console.log("No changesets found for themes", action.themeWhitelist.join(", "))
return console.log("No changesets found for themes", action.themeWhitelist.join(", "))
}else{
console.log("Filtering for ", action.themeWhitelist, "yielded", changesets.length, "changesets (" + beforeCount + " before)")
}
console.log("Filtering for ", action.themeWhitelist, "yielded", changesets.length, "changesets (" + beforeCount + " before)")
}
console.log("Building post...")