Skip to content

Commit

Permalink
make it build
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatel3001 committed Oct 30, 2024
1 parent 8d9a22d commit 447b1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MessageDecoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class MessageDecoder {
}
}

if (cband?.groups) {
if (cband?.groups && cband?.input) {
ResultFormatter.flightNumber(result, cband.groups.airline + Number(cband.groups.number));
message.text = cband.input;
}
Expand Down

0 comments on commit 447b1ba

Please sign in to comment.