mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-03 10:38:03 +08:00
fix: test error
This commit is contained in:
@@ -43,12 +43,12 @@ for (const dir in maintainerPath) {
|
||||
}
|
||||
|
||||
// 兼容旧版路由
|
||||
const router = require('../../lib/router.js');
|
||||
for (const e of router.stack) {
|
||||
if (!maintainers[e.path]) {
|
||||
maintainers[e.path] = [];
|
||||
}
|
||||
}
|
||||
// const router = require('../../lib/router.js');
|
||||
// for (const e of router.stack) {
|
||||
// if (!maintainers[e.path]) {
|
||||
// maintainers[e.path] = [];
|
||||
// }
|
||||
// }
|
||||
|
||||
const maintainer = Object.keys(maintainers)
|
||||
.sort()
|
||||
|
||||
Reference in New Issue
Block a user