Remove unnecessary checks #6154
Annotations
10 errors and 1 warning
Run yarn build:
src/commands/sbom/payload.ts#L129
Type 'string | undefined' is not assignable to type 'string'.
|
Run yarn build:
src/commands/sbom/payload.ts#L130
Type 'string | undefined' is not assignable to type 'string'.
|
Run yarn build:
src/commands/sbom/payload.ts#L131
Type 'string | undefined' is not assignable to type 'string'.
|
Run yarn build:
src/commands/sbom/payload.ts#L132
Type 'string | undefined' is not assignable to type 'string'.
|
Run yarn build:
src/commands/sbom/payload.ts#L133
Type 'string | undefined' is not assignable to type 'string'.
|
Run yarn build:
src/commands/sbom/payload.ts#L134
Type 'string | undefined' is not assignable to type 'string'.
|
Run yarn build:
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Run yarn build:
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Run yarn build
Process completed with exit code 2.
|
Run actions/upload-artifact@v4
No files were found with the provided path: sarif-datadog-ci.sarif. No artifacts will be uploaded.
|
This workflow ran on a hosted runner that uses the "Base Image for Ubuntu Server 22.04". This image will be deprecated in September 2024. Please setup a new runner to use the "Ubuntu 22.04 by Arm Limited" or "Ubuntu 24.04 by Arm Limited" image. This will help reduce workflow run times as there are pre-installed tools. To view the list of installed software on new images, check out https://github.com/actions/partner-runner-images repository.
|
Loading