fix(release): scope optional survivor assertions (#126000)

This commit is contained in:
Dallin Romney
2026-08-19 00:04:51 -07:00
committed by GitHub
parent 49d8cfd393
commit 4bea2d8cea
@@ -429,7 +429,7 @@ function assertConfigSurvived() {
const pluginAllow = config.plugins?.allow ?? [];
assert(pluginAllow.includes("discord"), "discord plugin allow entry missing");
assert(pluginAllow.includes("telegram"), "telegram plugin allow entry missing");
if (acceptsIntent(coverage, "configured-plugin-installs")) {
if (hasCoverage(coverage) && acceptsIntent(coverage, "configured-plugin-installs")) {
assert(pluginAllow.includes("matrix"), "matrix plugin allow entry missing");
} else {
assert(pluginAllow.includes("whatsapp"), "whatsapp plugin allow entry missing");