Closed joelalejandro closed 3 years ago
operators[operator] in line 149 could be undefined.
operators[operator]
undefined
From CodeQL:
Invocation of method with user-controlled name may dispatch to unexpected target and cause an exception.
https://github.com/kurierjs/kurier/blob/0b2e0156fb727fed89da90d6dfff9949bd6c9dbd/src/processors/operation-processor.ts#L145-L155
operators[operator]
in line 149 could beundefined
.From CodeQL:
https://github.com/kurierjs/kurier/blob/0b2e0156fb727fed89da90d6dfff9949bd6c9dbd/src/processors/operation-processor.ts#L145-L155