Skip to content

Commit b94adf3

Browse files
committed
make it build
1 parent 1e58ad1 commit b94adf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MessageDecoder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class MessageDecoder {
154154
}
155155
}
156156

157-
if (cband?.groups) {
157+
if (cband?.groups && cband?.input) {
158158
ResultFormatter.flightNumber(result, cband.groups.airline + Number(cband.groups.number));
159159
message.text = cband.input;
160160
}

0 commit comments

Comments
 (0)