eslint-plugin-security-node
eslint-plugin-security-node copied to clipboard
fix: potential error in isTryCatchStatement
In some cases the bodyArg.handler.param
can have the value null
which causes the line on 42/43 to cause a runtime exception as it tries to access a property name
on null