mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 02:46:31 +00:00
Ignore strawberry champions for champion.rs.dt
enum
This commit is contained in:
parent
3a643bdcef
commit
4e17bdfa49
1 changed files with 2 additions and 0 deletions
|
@ -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, '');
|
||||
|
|
Loading…
Reference in a new issue