From 23b7ba8cace10430ed51c655b2e73bb2928f0afc Mon Sep 17 00:00:00 2001 From: Charles Hu Date: Wed, 31 Jul 2024 11:46:36 -0400 Subject: [PATCH] Linting Signed-off-by: Charles Hu --- libs/hdf-converters/src/sbom-mapper.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/hdf-converters/src/sbom-mapper.ts b/libs/hdf-converters/src/sbom-mapper.ts index f289cf7e3a..916a7f81e0 100644 --- a/libs/hdf-converters/src/sbom-mapper.ts +++ b/libs/hdf-converters/src/sbom-mapper.ts @@ -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 | undefined => (input ? `${input}` : undefined) }, impact: {path: 'ratings', transformer: aggregateImpact}, code: {