Skip to content

Commit 73aa5f3

Browse files
committed
Filter out .min.json files when reading category files
1 parent c34a208 commit 73aa5f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/generate-categories.json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function readCategoryFiles() {
5555
}
5656

5757
const categoryFiles = fs.readdirSync(releasesDir)
58-
.filter(file => file.startsWith('category-') && file.endsWith('.json') && file !== 'categories.json');
58+
.filter(file => file.startsWith('category-') && file.endsWith('.json') && !file.endsWith('.min.json') && file !== 'categories.json');
5959

6060
console.log(`📄 Found ${categoryFiles.length} category files:`, categoryFiles);
6161

0 commit comments

Comments
 (0)