chore: update aegir (#1027)

Updates aegir, fixes all new linting errors.
This commit is contained in:
Alex Potsides
2021-11-19 08:02:24 +00:00
committed by GitHub
parent 3fb424914f
commit 3bed7b4cb2
39 changed files with 104 additions and 102 deletions

View File

@ -249,7 +249,7 @@ class PersistentPeerStore extends PeerStore {
}).finish()
batch.put(key, encodedData)
} catch (err) {
} catch (/** @type {any} */ err) {
log.error(err)
}
}
@ -275,7 +275,7 @@ class PersistentPeerStore extends PeerStore {
const encodedData = peerId.marshalPubKey()
batch.put(key, encodedData)
} catch (err) {
} catch (/** @type {any} */ err) {
log.error(err)
}
}
@ -302,7 +302,7 @@ class PersistentPeerStore extends PeerStore {
batch.delete(key)
}
})
} catch (err) {
} catch (/** @type {any} */ err) {
log.error(err)
}
}
@ -330,7 +330,7 @@ class PersistentPeerStore extends PeerStore {
const encodedData = Protocols.encode({ protocols }).finish()
batch.put(key, encodedData)
} catch (err) {
} catch (/** @type {any} */ err) {
log.error(err)
}
}
@ -399,7 +399,7 @@ class PersistentPeerStore extends PeerStore {
default:
log('invalid data persisted for: ', key.toString())
}
} catch (err) {
} catch (/** @type {any} */ err) {
log.error(err)
}
}