Skip to content

fix: updated moleculer-timeout-middleware with streams #737

fix: updated moleculer-timeout-middleware with streams

fix: updated moleculer-timeout-middleware with streams #737

Triggered via pull request January 14, 2025 15:24
Status Failure
Total duration 55s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
common: src/middlewares/timeout.js#L45
Replace `'moleculer-timeout-middleware',·ctx.options.timeout)` with `"moleculer-timeout-middleware",·ctx.options.timeout);`
common: src/transit.js#L554
Replace `'moleculer-timeout-middleware',·(timeout)` with `"moleculer-timeout-middleware",·timeout`
common: src/transit.js#L557
Replace `pass,·`Pending·request·stream·${payload.id}·have·been·closed·by·timeout·${timeout}·ms`)` with `⏎↹↹↹↹↹↹pass,⏎↹↹↹↹↹↹`Pending·request·stream·${payload.id}·have·been·closed·by·timeout·${timeout}·ms`⏎↹↹↹↹↹);`
common: src/transit.js#L559
Insert `;`
common: src/transit.js#L875
Insert `;`
common: src/transit.js#L877
Replace `'moleculer-timeout-middleware',·(timeout)` with `"moleculer-timeout-middleware",·timeout`
common: src/transit.js#L878
Replace `pass,·`Request·stream·${ctx.id}·have·been·closed·by·timeout·${timeout}·ms`)` with `⏎↹↹↹↹↹pass,⏎↹↹↹↹↹`Request·stream·${ctx.id}·have·been·closed·by·timeout·${timeout}·ms`⏎↹↹↹↹);`
common: src/transit.js#L879
Insert `;`
common: src/transit.js#L1121
Replace `'error',·(err)·=>·this.logger.error(err.message))` with `"error",·err·=>·this.logger.error(err.message));`
common
Process completed with exit code 1.
common: src/transit.js#L533
'isNew' is assigned a value but never used