mirror of https://github.com/MingweiSamuel/Riven
Ignore strawberry champions for `champion.rs.dt` enum
parent
3a643bdcef
commit
4e17bdfa49
|
@ -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 New Issue