We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20f194a commit d546f2fCopy full SHA for d546f2f
src/raids/index.ts
@@ -12,7 +12,9 @@ const __dirname = dirname(__filename)
12
*/
13
const raidModules: Collection<RaidName, Raid> = new Collection()
14
15
-const raidFiles = readdirSync(__dirname).filter(file => !file.startsWith('index'))
+const raidFiles = readdirSync(__dirname).filter(
16
+ file => !file.endsWith('.d.ts') && !file.startsWith('index')
17
+)
18
for (const raidFile of raidFiles) {
19
const raid: Raid = (await import(join('file://', __dirname, raidFile))).default
20
raidModules.set(raid.name, raid)
0 commit comments