From 078c26c986eb92017f149560b0675ef740887835 Mon Sep 17 00:00:00 2001 From: adrivrie Date: Tue, 5 Dec 2023 20:23:30 +0100 Subject: [PATCH] trailing whitespace why is it always trailing whitespace --- data/random-teams.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/random-teams.ts b/data/random-teams.ts index 78c56b558fd7..203b45df69b9 100644 --- a/data/random-teams.ts +++ b/data/random-teams.ts @@ -2047,7 +2047,7 @@ export class RandomTeams { // Picks `n` random pokemon--no repeats, even among formes // Also need to either normalize for formes or select formes at random // Unreleased are okay but no CAP - + if (requiredType && !this.dex.types.get(requiredType).exists) { throw new Error(`"${requiredType}" is not a valid type.`); }