src/census/plugins/express.ts
Function applyPatch
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
protected applyPatch () {
this.logger.debug('Patched express')
if (!semver.satisfies(this.version, '^4.0.0')) {
this.logger.debug('express version %s not supported - aborting...', this.version)
Function applyLayerPatch
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private applyLayerPatch (layer: any, layerPath?: string) {
const plugin = this
if (layer[this.kPatched] === true) return
layer[this.kPatched] = true
plugin.logger.debug('patching express.Router.Layer.handle')