forked from LittleChest/dns-packet
Fix ESLint error
This commit is contained in:
parent
a260a8386b
commit
5c37d07fcf
@ -13,7 +13,7 @@ exports.toString = function (klass) {
|
|||||||
|
|
||||||
exports.toClass = function (name) {
|
exports.toClass = function (name) {
|
||||||
if (typeof name === 'number') {
|
if (typeof name === 'number') {
|
||||||
return name;
|
return name
|
||||||
}
|
}
|
||||||
switch (name.toUpperCase()) {
|
switch (name.toUpperCase()) {
|
||||||
case 'IN': return 1
|
case 'IN': return 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user