Skip to content

wrap middleware

wrap middleware #490

Triggered via pull request March 28, 2024 15:15
Status Failure
Total duration 2m 15s
Artifacts

app-quality-check.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 9 warnings
build (18.x, ubuntu-latest): src/code-templates/libraries/middlewares/src/wrap-handler.ts#L1
Replace `⏎import·express·from·"express"` with `import·express·from·'express'`
build (18.x, ubuntu-latest): src/code-templates/libraries/middlewares/src/wrap-handler.ts#L2
'express' should be listed in the project's dependencies, not devDependencies
build (18.x, ubuntu-latest): src/code-templates/libraries/middlewares/src/wrap-handler.ts#L5
Replace `req:·express.Request,·res:·express.Response,·next:·express.NextFunction` with `⏎····req:·express.Request,⏎····res:·express.Response,⏎····next:·express.NextFunction⏎··`
build (18.x, ubuntu-latest): src/code-templates/services/order-service/entry-points/api/routes.ts#L5
`@practica/middlewares` import should occur before import of `../../domain/new-order-use-case`
build (16.x, ubuntu-latest)
The job was canceled because "_18_x_ubuntu-latest" failed.
build (16.x, ubuntu-latest): src/code-templates/libraries/middlewares/src/wrap-handler.ts#L1
Replace `⏎import·express·from·"express"` with `import·express·from·'express'`
build (16.x, ubuntu-latest): src/code-templates/libraries/middlewares/src/wrap-handler.ts#L2
'express' should be listed in the project's dependencies, not devDependencies
build (16.x, ubuntu-latest): src/code-templates/libraries/middlewares/src/wrap-handler.ts#L5
Replace `req:·express.Request,·res:·express.Response,·next:·express.NextFunction` with `⏎····req:·express.Request,⏎····res:·express.Response,⏎····next:·express.NextFunction⏎··`
build (16.x, ubuntu-latest): src/code-templates/services/order-service/entry-points/api/routes.ts#L5
`@practica/middlewares` import should occur before import of `../../domain/new-order-use-case`
build (18.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (18.x, ubuntu-latest): src/code-templates/libraries/middlewares/src/context.ts#L5
Unexpected any. Specify a different type
build (16.x, ubuntu-latest): src/code-templates/libraries/middlewares/src/context.ts#L5
Unexpected any. Specify a different type