Skip to content

Commit

Permalink
Fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
papey committed Sep 18, 2020
1 parent e77dae4 commit e22e0d1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/scry/mtg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,11 @@ class Card {
);

// https://scryfall.com/docs/api, see Rate Limits and Good Citizenship section
setTimeout(() => {}, 60);
setTimeout(() => { }, 60);

if (translate.name == null) {
throw new TranslateError(
`Error translating the following card ${
this.name
`Error translating the following card ${this.name
} (${this.edition.toUpperCase()}) ${this.id}`
);
}
Expand Down Expand Up @@ -228,7 +227,7 @@ class Deck {

// main deck constraints
if (this.main.reduce<number>(this.sumer, 0) < 40) {
throw new DeckBuildingError(`Main deck needs at at least 40 cards`);
throw new DeckBuildingError(`Main deck needs at least 40 cards`);
}

// side deck constaints
Expand Down

0 comments on commit e22e0d1

Please sign in to comment.