Ignore strawberry champions for champion.rs.dt enum

This commit is contained in:
Mingwei Samuel 2024-07-03 08:36:06 -07:00
parent 3a643bdcef
commit 4e17bdfa49

View file

@ -2,6 +2,8 @@
const dotUtils = require('./dotUtils.js');
const champions = require('./.champion.json')
.filter(({ id }) => id > 0)
/* Ignore strawberry champions for now */
.filter(({ alias }) => !alias.startsWith('Strawberry_'))
.sortBy(({ name }) => name);
const constName = name => dotUtils.changeCase.constantCase(name).replace(/[^_A-Z0-9]+/g, '');