Address new linting rules (#851)
Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
1 parent
37ad0ac9eb
commit
aaf85943a8
16 files changed
+27
-32
No files matched your search
@@ -13,7 +13,7 @@ export function convertIpAddressToInt(ip: string): number | undefined {
|
||||
.split(".")
|
||||
.reverse()
|
||||
.reduce((ipnum, octet) => {
|
||||
return (ipnum << 8) + Number.parseInt(octet);
|
||||
return (ipnum << 8) + Number.parseInt(octet, 10);
|
||||
}, 0) >>> 0
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user