Skip to content

[WIP] Separate commands implementation from specific CLI args parser. #2483

[WIP] Separate commands implementation from specific CLI args parser.

[WIP] Separate commands implementation from specific CLI args parser. #2483

Triggered via pull request December 11, 2023 20:53
Status Failure
Total duration 2m 1s
Artifacts

ci.yml

on: pull_request
Dependaban
8s
Dependaban
Verify signatures and provenance statements
31s
Verify signatures and provenance statements
Matrix: checks
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 10 warnings
Type Checker: src/commands/app.ts#L33
The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<void>'?
Type Checker: src/commands/app.ts#L38
Argument of type 'unknown' is not assignable to parameter of type 'string | number'.
Type Checker: src/commands/app.ts#L70
'clonedResponse.environments' is possibly 'null' or 'undefined'.
Type Checker: src/commands/app.ts#L73
Argument of type 'Maybe<AppEnvironment>' is not assignable to parameter of type 'string'.
Type Checker: src/commands/app.ts#L76
'clonedEnv.currentCommit' is possibly 'null' or 'undefined'.
Type Checker: src/commands/app.ts#L79
Type 'string' is not assignable to type 'Domain'.
Type Checker: src/commands/app.ts#L79
'clonedEnv.primaryDomain' is possibly 'null' or 'undefined'.
Type Checker: src/commands/app.ts#L84
Type '{ header: ({ key: string; value: Maybe<number> | undefined; } | { key: string; value: Maybe<string> | undefined; })[]; data: Maybe<AppEnvironment>[]; }' is not assignable to type 'void'.
Type Checker: src/lib/base-command.ts#L90
Parameter 'argv' implicitly has an 'any' type.
Type Checker: src/lib/base-command.ts#L90
Parameter 'params' implicitly has an 'any' type.
Check formatting
The job was canceled because "Type_Checker_check-types" failed.
Check formatting
Process completed with exit code 1.
Check formatting
The job was canceled because "Type_Checker_check-types" failed.
Check formatting
The operation was canceled.
Lint
The job was canceled because "Type_Checker_check-types" failed.
Lint: src/commands/app.ts#L3
There should be no empty line within import group
Lint: src/commands/app.ts#L5
`../lib/tracker` import should occur after import of `../lib/cli/format`
Lint: src/commands/app.ts#L34
Replace `arg[0]` with `·arg[·0·]·`
Lint: src/commands/app.ts#L43
Invalid type "unknown" of template literal expression
Lint: src/commands/app.ts#L52
Invalid type "unknown" of template literal expression
Lint: src/lib/base-command.ts#L6
`commander` import should occur before import of `debug`
Lint: src/lib/base-command.ts#L9
`./cli/config` import should occur before import of `./command-registry`
Lint: src/lib/base-command.ts#L11
`./cli/envAlias` import should occur before import of `./command-registry`
Lint: src/lib/base-command.ts#L66
Useless constructor
Lint: src/lib/base-command.ts#L91
Unsafe return of an `any` typed value
Lint: src/bin/vip-wp.js#L111
'cancelCommand' is assigned a value but never used
Lint: src/commands/app.ts#L8
'formatData' is defined but never used
Lint: src/commands/app.ts#L8
'formatData' is defined but never used
Lint: src/commands/app.ts#L8
'formatSearchReplaceValues' is defined but never used
Lint: src/commands/app.ts#L8
'formatSearchReplaceValues' is defined but never used
Lint: src/commands/app.ts#L10
'CommandOption' is defined but never used
Lint: src/commands/app.ts#L10
'CommandOption' is defined but never used
Lint: src/commands/example-command.ts#L33
'opts' is defined but never used. Allowed unused args must match /^_/u
Lint: src/commands/example-command.ts#L56
'opts' is defined but never used. Allowed unused args must match /^_/u
Lint: src/commands/example-command.ts#L56
'args' is defined but never used. Allowed unused args must match /^_/u