Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public RustCliDetector(
public override string Id => "RustCli";

/// <inheritdoc />
public override IEnumerable<string> Categories { get; } = ["Rust"];
public override IEnumerable<string> Categories { get; } = [Enum.GetName(typeof(DetectorClass), DetectorClass.Cargo)];

/// <inheritdoc />
public override IEnumerable<ComponentType> SupportedComponentTypes => [ComponentType.Cargo];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public RustCrateDetector(

public override int Version { get; } = 8;

public override IEnumerable<string> Categories => ["Rust"];
public override IEnumerable<string> Categories => [Enum.GetName(typeof(DetectorClass), DetectorClass.Cargo)];

private static bool ParseDependency(string dependency, out string packageName, out string version, out string source)
{
Expand Down
Loading