Skip to content

Sort ITIS response & multiple common names #668

Sort ITIS response & multiple common names

Sort ITIS response & multiple common names #668

Triggered via pull request March 7, 2024 19:16
Status Failure
Total duration 1m 22s
Artifacts

lint-format.yml

on: pull_request
Checkout and cache target branch
17s
Checkout and cache target branch
Running Linter and Formatter
47s
Running Linter and Formatter
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
Running Linter and Formatter: api/src/utils/itis-sort.test.ts#L2
Unexpected empty arrow function
Running Linter and Formatter
Process completed with exit code 1.
Checkout and cache target branch
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Linter and Formatter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Linter and Formatter: api/src/services/gcnotify-service.ts#L252
'userIdentifier' is defined but never used
Running Linter and Formatter: api/src/services/gcnotify-service.ts#L252
'identitySource' is defined but never used
Running Linter and Formatter: api/src/utils/itis-sort.ts#L77
Replace `item.commonNames.some((name)·=>·name.includes(searchTermString))·||·item.scientificName·===·searchTermString` with `(⏎········item.commonNames.some((name)·=>·name.includes(searchTermString))·||·item.scientificName·===·searchTermString⏎······)`