Skip to content

fix(CPB): fix zod error #5715

fix(CPB): fix zod error

fix(CPB): fix zod error #5715

Triggered via pull request December 4, 2024 17:18
Status Failure
Total duration 3m 15s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
test: src/script/backup/CrossPlatformBackup/CPB.export.ts#L162
Argument of type 'string | number' is not assignable to parameter of type 'string'.
test
Process completed with exit code 2.
test
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.320.0. Please update to the latest version 2.321.0
test: server/config/client.config.ts#L78
No magic number: 4
test: server/config/client.config.ts#L81
No magic number: 500
test: server/config/client.config.ts#L82
No magic number: 4
test: server/config/client.config.ts#L83
No magic number: 8
test: server/config/index.ts#L32
Caution: `dotenv` also has a named export `load`. Check if you meant to write `import {load} from 'dotenv-extended'` instead
test: server/config/server.config.ts#L112
No magic number: 21080
test: server/routes/RedirectRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
test: server/routes/Root.ts#L29
Caution: `maxmind` also has a named export `open`. Check if you meant to write `import {open} from 'maxmind'` instead
test: server/routes/Root.ts#L29
Caution: `geolite2` also has a named export `paths`. Check if you meant to write `import {paths} from 'geolite2'` instead
test: server/routes/error/ErrorRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead