We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f664e9 commit 383de12Copy full SHA for 383de12
index.ts
@@ -38,7 +38,7 @@ for (const ip of config.ips) {
38
console.log(error)
39
} else {
40
for (const varbind of varbinds) {
41
- if (snmp.isVarbindError(varbind)) {
+ if (snmp.isVarbindError(varbind) as boolean) {
42
console.error(snmp.varbindError(varbind))
43
44
const value = varbind.value
0 commit comments