Skip to content

Refactor, add some more checks #4532

Refactor, add some more checks

Refactor, add some more checks #4532

Triggered via push September 11, 2024 21:10
Status Failure
Total duration 45s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: packages/cli/commands/doctor.js#L1
'pkg' is assigned a value but never used
build: packages/cli/commands/doctor.js#L2
'getProjectConfig' is assigned a value but never used
build: packages/cli/commands/doctor.js#L3
'getAccessToken' is assigned a value but never used
build: packages/cli/commands/doctor.js#L5
'getAccountConfig' is assigned a value but never used
build: packages/cli/commands/doctor.js#L6
'walk' is assigned a value but never used
build: packages/cli/commands/doctor.js#L7
'path' is assigned a value but never used
build: packages/cli/commands/doctor.js#L9
'SpinniesManager' is assigned a value but never used
build: packages/cli/lib/doctor.js#L56
Redundant use of `await` on a return value
build: packages/cli/lib/doctor.js#L103
Unsafe usage of optional chaining. If it short-circuits with 'undefined' the evaluation will throw TypeError
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/