Do post an overview if no changes were made
This commit is contained in:
parent
9e697f170f
commit
535de1fb54
1 changed files with 2 additions and 2 deletions
|
@ -85,9 +85,9 @@ export class Main {
|
||||||
changesets = changesets.filter(cs => allowedThemes.has(cs.properties.theme))
|
changesets = changesets.filter(cs => allowedThemes.has(cs.properties.theme))
|
||||||
if (changesets.length == 0) {
|
if (changesets.length == 0) {
|
||||||
console.log("No changesets found for themes", action.themeWhitelist.join(", "))
|
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...")
|
console.log("Building post...")
|
||||||
|
|
Loading…
Reference in a new issue