build(aio): don't constrain checkContentRules
to run before another processor (#24000)
We don't really care when this processor runs as long as it happens after the tags have been extracted. By not constraining its `runBefore` property we can ensure that other processors can be run before it. PR Close #24000
This commit is contained in:

committed by
Miško Hevery

parent
131d0d8e8a
commit
293ec78069
@ -32,7 +32,7 @@ module.exports = function checkContentRules(log, createDocMessage) {
|
||||
docTypeRules: {},
|
||||
failOnContentErrors: false,
|
||||
$runAfter: ['tags-extracted'],
|
||||
$runBefore: ['processing-docs'],
|
||||
$runBefore: [],
|
||||
$process(docs) {
|
||||
const logMessage = this.failOnContentErrors ? log.error.bind(log) : log.warn.bind(log);
|
||||
const errors = [];
|
||||
|
Reference in New Issue
Block a user