Skip to content

Commit

Permalink
Update src/lib/isMACAddress.js
Browse files Browse the repository at this point in the history
Co-authored-by: Sarhan Aissi <[email protected]>
  • Loading branch information
WikiRik and tux-tn authored Nov 13, 2021
1 parent 6b987b4 commit 896f5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/isMACAddress.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const macAddress64WithDots = /^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;
export default function isMACAddress(str, options) {
assertString(str);
if (options?.eui) {
String(options.eui);
options.eui = String(options.eui);
}
/**
* @deprecated `no_colons` TODO: remove it in the next major
Expand Down

0 comments on commit 896f5b7

Please sign in to comment.