Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Hu <[email protected]>
  • Loading branch information
charleshu-8 committed Jul 31, 2024
1 parent 62b3b35 commit 23b7ba8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/hdf-converters/src/sbom-mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,9 @@ export class SBOMMapper extends BaseConverter {
id: {path: 'id'},
desc: {
path: 'description',
transformer: (input: string): string | undefined =>
input ? input : undefined
transformer: (
input: Record<string, unknown>
): string | undefined => (input ? `${input}` : undefined)
},
impact: {path: 'ratings', transformer: aggregateImpact},
code: {
Expand Down

0 comments on commit 23b7ba8

Please sign in to comment.