From a17f385bca4c38e591c7e5c2e14c63fdfe01a056 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Mon, 22 Jul 2024 08:56:05 -0700 Subject: [PATCH] Ignore strawberry champs --- src/Camille.Enums/gen/Champion.cs.dt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Camille.Enums/gen/Champion.cs.dt b/src/Camille.Enums/gen/Champion.cs.dt index a66b3e1e..44a1c61a 100644 --- a/src/Camille.Enums/gen/Champion.cs.dt +++ b/src/Camille.Enums/gen/Champion.cs.dt @@ -1,6 +1,8 @@ {{ const champions = require(it.path + '/.champion.json') .filter(({ id }) => id > 0) + /* Ignore strawberry champions for now */ + .filter(({ alias }) => !alias.startsWith('Strawberry_')) .sortBy(({ name }) => name); const enumName = function(name) { return name.toUpperCase().replace(/[^A-Z]+/, ''); }; }}