Accepte les resets d'ancres du glossaire par préfixe
This commit is contained in:
@@ -211,11 +211,7 @@ function diffPage(prevIds, curIds) {
|
||||
const prevN = prevIds.length || 1;
|
||||
const churn = (added.length + removed.length) / prevN;
|
||||
const removedRatio = removed.length / prevN;
|
||||
const acceptedReason =
|
||||
ACCEPTED_RESETS[p] ||
|
||||
(ACCEPT_GLOSSARY_RESETS && p.startsWith("glossaire/")
|
||||
? "Reset intentionnel des ancres du glossaire après refonte éditoriale substantielle."
|
||||
: null);
|
||||
const acceptedReason = acceptedResetReasonForPage(p);
|
||||
|
||||
console.log(
|
||||
`~ ${p} prev=${prevIds.length} now=${curIds.length}` +
|
||||
|
||||
Reference in New Issue
Block a user