src/census/plugins/mongodb.ts
Function getPatchCommand
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private getPatchCommand (label: string) {
const plugin = this
return (original: Function) => {
return function (ns: string, command: any, options: any, callback: Function) {
const resultHandler = typeof options === 'function' ? options : callback