Skip to content

Commit

Permalink
fix: use correct 'IPv4'/'IPv6' text formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelmay committed Jan 1, 2025
1 parent f8202b4 commit 9e1912d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ip-address.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class TrieNode {
export class CidrTrie {
constructor(version) {
if (version !== IpVersion.IPV4 && version !== IpVersion.IPV6) {
throw new Error('The version must be either IPV4 or IPV6');
throw new Error('The version must be either IPv4 or IPv6');
}

this.version = version;
Expand Down

0 comments on commit 9e1912d

Please # to comment.