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:
@@ -6,7 +6,7 @@ const dirname = path.join(__dirname + '../../../lib/routes');
|
||||
const toSource = require('tosource');
|
||||
|
||||
// Namespaces that do not require radar.js
|
||||
const allowNamespace = new Set(['discourse', 'discuz', 'ehentai', 'lemmy', 'mail', 'test', 'index.ts', 'robots.txt.ts']);
|
||||
const allowNamespace = new Set(['discourse', 'discuz', 'ehentai', 'lemmy', 'mail', 'test', 'index.tsx', 'robots.txt.ts']);
|
||||
// Check if a radar.js file is exist under each folder of dirname
|
||||
for (const dir of fs.readdirSync(dirname)) {
|
||||
const dirPath = path.join(dirname, dir);
|
||||
|
||||
Reference in New Issue
Block a user