Skip to content

Commit

Permalink
fix(rust): don't mark build deps as dev deps (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
melotic authored Nov 6, 2023
1 parent f42b36b commit 2701804
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private void TraverseAndRecordComponents(
{
try
{
var isDevelopmentDependency = depInfo?.DepKinds.Any(x => x.Kind is Kind.Dev or Kind.Build) ?? false;
var isDevelopmentDependency = depInfo?.DepKinds.Any(x => x.Kind is Kind.Dev) ?? false;
var (name, version) = ParseNameAndVersion(id);
var detectedComponent = new DetectedComponent(new CargoComponent(name, version));

Expand Down

0 comments on commit 2701804

Please sign in to comment.