Fix ESLint error

This commit is contained in:
LittleChest 2026-04-07 22:50:33 +08:00
parent a260a8386b
commit 5c37d07fcf

View File

@ -13,7 +13,7 @@ exports.toString = function (klass) {
exports.toClass = function (name) {
if (typeof name === 'number') {
return name;
return name
}
switch (name.toUpperCase()) {
case 'IN': return 1