Skip to content

Commit

Permalink
Merge pull request snyk#5565 from snyk/fix/snyk-analytics-unmanaged-d…
Browse files Browse the repository at this point in the history
…epcount

fix: mismatch/off-by-one on unmanagedDependencyCount in snyk analytics UNIFY-340
  • Loading branch information
sandor-trombitas authored Nov 4, 2024
2 parents b8c0c0e + 75d8e6d commit 91ae38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ecosystems/resolve-test-facts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export async function resolveAndTestFactsUnmanagedDeps(
},
{
name: 'unmanagedDependencyCount',
data: depGraphData?.pkgs.length ?? 0,
data: dependencyCount ?? 0,
},
{
name: 'unmanagedIssuesCount',
Expand Down

0 comments on commit 91ae38e

Please sign in to comment.