Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
2hwk committed Jan 8, 2023
1 parent 443a205 commit 86fa798
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,16 @@ class SeatFlags extends BitFlags {
}

isSeatFilled(seatId) {
if (seatId > this.totalSeats) { return false; }
if (seatId > this.totalSeats) {
return false;
}
return this.getBitIndex(seatId);
}

toggleSeatId(seatId) {
if (seatId > this.totalSeats) { return; }
if (seatId > this.totalSeats) {
return;
}
this.toggleBitIndex(seatId);
}

Expand Down

0 comments on commit 86fa798

Please sign in to comment.