Skip to content

Return null if there is no active IEP instead of throwing #515

Return null if there is no active IEP instead of throwing

Return null if there is no active IEP instead of throwing #515

Triggered via pull request November 18, 2023 20:47
Status Failure
Total duration 2m 25s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 6 warnings
type-check: src/backend/routers/student.test.ts#L103
'studentWithIep' is possibly 'null'.
type-check: src/backend/routers/student.test.ts#L104
'studentWithIep' is possibly 'null'.
type-check: src/backend/routers/student.test.ts#L105
'studentWithIep' is possibly 'null'.
type-check
Process completed with exit code 2.
type-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. 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 uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: src/components/subgoal/Subgoal.tsx#L1
'trpc' is defined but never used
lint: src/components/uploadPicture/uploadImage.tsx#L120
Using `<img>` could result in slower LCP and higher bandwidth. Use `<Image />` from `next/image` instead to utilize Image Optimization. See: https://nextjs.org/docs/messages/no-img-element
lint: src/components/uploadedFile/uploadedFile.tsx#L26
Using `<img>` could result in slower LCP and higher bandwidth. Use `<Image />` from `next/image` instead to utilize Image Optimization. See: https://nextjs.org/docs/messages/no-img-element