Skip to content

[Backport 2.x] [Bug]added error handling for api calls #328

[Backport 2.x] [Bug]added error handling for api calls

[Backport 2.x] [Bug]added error handling for api calls #328

Triggered via pull request October 22, 2024 21:25
Status Failure
Total duration 4m 8s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
Lint: server/services/QueryService.ts#L6
Delete `⏎`
Lint: server/services/QueryService.ts#L10
Delete `⏎`
Lint: server/services/QueryService.ts#L13
Prefer named exports
Lint: server/services/QueryService.ts#L24
Replace `request:·any,·format:·string,·responseFormat:·string,·body:·any,·context:·RequestHandlerContext` with `⏎····request:·any,⏎····format:·string,⏎····responseFormat:·string,⏎····body:·any,⏎····context:·RequestHandlerContext⏎··`
Lint: server/services/QueryService.ts#L33
Replace `dataSourceMDSId` with `·dataSourceMDSId·`
Lint: server/services/QueryService.ts#L55
Insert `,`
Lint: server/services/QueryService.ts#L61
Replace `request:·any,·format:·string,·jobId:·string,·responseFormat:·string,·context:·any,·dataSourceMDSId:·string` with `⏎····request:·any,⏎····format:·string,⏎····jobId:·string,⏎····responseFormat:·string,⏎····context:·any,⏎····dataSourceMDSId:·string⏎··`
Lint: server/services/QueryService.ts#L67
Delete `⏎`
Lint: server/services/QueryService.ts#L70
Expected property shorthand
Lint: server/services/QueryService.ts#L73
Insert `·`
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, lots0logs/gh-action-get-changed-files@2.2.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint: server/routes/query.ts#L38
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L60
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L82
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L104
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L126
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L148
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L170
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L192
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L214
Unexpected any. Specify a different type
Lint: server/routes/query.ts#L236
Unexpected any. Specify a different type