Skip to content

Commit 54a68e4

Browse files
committed
minor formatting
1 parent 8931628 commit 54a68e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export function createChecker(
4848
if (!util.isIP(address)) {
4949
throw new Error(`not a valid IPv4 or IPv6 address: ${address}`);
5050
}
51+
5152
// for mapped IPv4 addresses, compare against both IPv6 and IPv4 subnets
5253
if (util.isIPv6(address) && IPv6.isIPv4MappedAddress(address)) {
5354
return check6(address) || check4(IPv6.extractMappedIpv4(address));

0 commit comments

Comments
 (0)