Skip to content

Implement coffee chat dao and set up coffee chat api #2217

Implement coffee chat dao and set up coffee chat api

Implement coffee chat dao and set up coffee chat api #2217

Triggered via pull request June 6, 2024 03:44
Status Failure
Total duration 1m 23s
Artifacts

ci-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
check: backend/src/API/coffeeChatAPI.ts#L2
`lodash.isequal` import should occur before import of `../dao/CoffeeChatDao`
check: backend/src/API/coffeeChatAPI.ts#L5
'lodash' should be listed in the project's dependencies. Run 'npm i -S lodash' to add it
check: backend/src/API/coffeeChatAPI.ts#L5
`lodash` import should occur before import of `../dao/CoffeeChatDao`
check: backend/src/API/coffeeChatAPI.ts#L9
Expected exception block, space or tab after '//' in comment
check: backend/src/API/coffeeChatAPI.ts#L12
Expected exception block, space or tab after '//' in comment
check: backend/src/API/coffeeChatAPI.ts#L14
Redundant use of `await` on a return value
check: backend/src/API/coffeeChatAPI.ts#L75
Expected exception block, space or tab after '//' in comment
check: backend/src/API/coffeeChatAPI.ts#L94
Expected exception block, space or tab after '//' in comment
check: backend/src/API/coffeeChatImageAPI.ts#L3
'NotFoundError' is defined but never used
check: backend/src/API/coffeeChatImageAPI.ts#L5
Expected exception block, space or tab after '//' in comment
build
Process completed with exit code 1.
check: backend/src/API/coffeeChatAPI.ts#L19
Unexpected console statement
check: backend/src/API/coffeeChatAPI.ts#L22
Unexpected console statement
check: backend/src/API/coffeeChatAPI.ts#L29
Unexpected console statement
check: backend/src/API/coffeeChatAPI.ts#L30
Unexpected console statement
check: backend/src/API/coffeeChatAPI.ts#L33
Unexpected console statement
check: backend/src/API/coffeeChatAPI.ts#L46
Unexpected console statement
check: backend/src/API/coffeeChatAPI.ts#L55
Unexpected console statement
check: backend/src/API/coffeeChatAPI.ts#L99
Unexpected template string expression
check: backend/src/api.ts#L305
Unexpected console statement
check: backend/src/api.ts#L307
Unexpected console statement
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/