Skip to content

Commit cb48f4f

Browse files
committed
ignore comments
1 parent 3d15775 commit cb48f4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/curseforge.ts

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export default class CurseforgeService {
117117
.toString()
118118
.split('\n')
119119
.map(it => it.trim())
120+
.filter(it => !it.startsWith('#'))
120121

121122
const matches = readdirSync('mods').filter(file => excludePatterns.some(pattern => minimatch(file, pattern)))
122123

0 commit comments

Comments
 (0)