Skip to content

A bit of code refactoring #935

A bit of code refactoring

A bit of code refactoring #935

Triggered via push February 28, 2024 15:21
Status Failure
Total duration 2m 13s
Artifacts

cd-test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
test (16.17.0, ubuntu-latest): packages/fhir-location-management/src/components/AllLocationListFlat/index.tsx#L50
'resourceId' is assigned a value but never used. Allowed unused vars must match /^_/u
test (16.17.0, ubuntu-latest): packages/fhir-location-management/src/components/AllLocationListFlat/index.tsx#L53
'refetch' is assigned a value but never used. Allowed unused vars must match /^_/u
test (16.17.0, ubuntu-latest): packages/fhir-location-management/src/components/AllLocationListFlat/index.tsx#L62
Replace `⏎··useEffect(()·=>·{⏎··` with `useEffect(()·=>·{`
test (16.17.0, ubuntu-latest): packages/fhir-location-management/src/components/AllLocationListFlat/index.tsx#L63
React Hook "useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render
test (16.17.0, ubuntu-latest)
Process completed with exit code 1.
test (16.17.0, windows-latest)
The job was canceled because "_16_17_0_ubuntu-latest" failed.
test (16.17.0, windows-latest)
The operation was canceled.
test (16.17.0, 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/.