Skip to content

Commit 0876f20

Browse files
Check for packages >= 1
1 parent b1198a6 commit 0876f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CycloneDX/Runner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public async Task<int> HandleCommandAsync(RunOptions options)
312312
if (!bomRefLookup.ContainsKey(lookupKey))
313313
{
314314
var packageNameMatch = bomRefLookup.Where(x => x.Key.Item1 == dep.Key.ToLower(CultureInfo.InvariantCulture)).ToList();
315-
if (packageNameMatch.Count == 1)
315+
if (packageNameMatch.Count >= 1)
316316
{
317317
lookupKey = packageNameMatch.First().Key;
318318
}

0 commit comments

Comments
 (0)