Skip to content

Commit 2ef83a8

Browse files
committed
style change
1 parent d6b0c65 commit 2ef83a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/IcaoDecoder.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ export class IcaoDecoder {
6666
isMilitary(): boolean {
6767
const i = this.icao;
6868
const n = parseInt(i, 16);
69-
// Range checks only
7069
for (const [start, end] of IcaoDecoder.MILITARY_RANGES) {
71-
if (n >= start && n <= end) {
70+
if (start <= n && n <= end) {
7271
return true;
7372
}
7473
}

0 commit comments

Comments
 (0)