Ignore strawberry champions for `champion.rs.dt` enum

pull/73/head
Mingwei Samuel 2024-07-03 08:36:06 -07:00
parent 3a643bdcef
commit 4e17bdfa49
1 changed files with 2 additions and 0 deletions

View File

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