We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9351834 commit b2081a2Copy full SHA for b2081a2
src/serialize/bomRefDiscriminator.ts
@@ -26,7 +26,7 @@ export class BomRefDiscriminator {
26
27
constructor (bomRefs: Iterable<BomRef>, prefix: string = 'BomRef') {
28
this.#originalValues = new Map(
29
- Array.from(bomRefs).map(ref => [ref, ref.value])
+ Array.from(bomRefs, r => [r, r.value])
30
)
31
this.#prefix = prefix
32
}
0 commit comments