Skip to content

refactor target labels to its own table #477

refactor target labels to its own table

refactor target labels to its own table #477

Triggered via pull request September 18, 2024 17:37
Status Failure
Total duration 2m 4s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Lint: packages/db/src/schema/target.ts#L118
'labelConditions' is assigned a value but only used as a type. Allowed unused vars must match /^_/u
Lint: packages/db/src/schema/target.ts#L127
'buildCondition' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint: packages/db/src/schema/target.ts#L170
Unnecessary conditional, both sides of the expression are literal values
Lint: packages/db/src/schema/target.ts#L178
Async function 'findTargetsByLabels' has no 'await' expression
Lint
@ctrlplane/db#lint: command (/home/runner/work/ctrlplane/ctrlplane/packages/db) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
Lint
Process completed with exit code 1.
Lint: packages/db/src/schema/target.ts#L16
All imports in the declaration are only used as types. Use `import type`