mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
lint fix
This commit is contained in:
@@ -64,7 +64,7 @@ function checkType(typeObj) {
|
||||
if (name && typeMap[name]) checkType(typeMap[name])
|
||||
})
|
||||
}
|
||||
if (typeof f.type === 'enum' && Array.isArray(f.type.variants)) {
|
||||
if (f.type === 'enum' && Array.isArray(f.type.variants)) {
|
||||
f.type.variants.forEach(v => {
|
||||
if (!v.fields) {
|
||||
const name = getDefinedName(v)
|
||||
|
||||
Reference in New Issue
Block a user