Skip to content

Commit 63ab1fa

Browse files
committed
chore: drop dead code
1 parent adae916 commit 63ab1fa

File tree

1 file changed

+1
-10
lines changed
  • sbom/sbom-cli/src/cmd/report

1 file changed

+1
-10
lines changed

sbom/sbom-cli/src/cmd/report/mod.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ use crate::{cmd::DiscoverArguments, common::walk_visitor, inspect::inspect};
44
use parking_lot::Mutex;
55
use reqwest::Url;
66
use sbom_walker::{
7-
model::sbom::ParseAnyError,
87
report::ReportResult,
98
retrieve::RetrievingVisitor,
10-
source::{DispatchSource, Source},
9+
source::DispatchSource,
1110
validation::{ValidatedSbom, ValidationVisitor},
1211
};
1312
use std::{
@@ -30,14 +29,6 @@ use walker_common::{
3029
validate::{ValidationError, ValidationOptions},
3130
};
3231

33-
#[derive(Debug, thiserror::Error)]
34-
pub enum SbomError<S: Source> {
35-
#[error(transparent)]
36-
Validation(#[from] ValidationError<S>),
37-
#[error(transparent)]
38-
Parse(#[from] ParseAnyError),
39-
}
40-
4132
/// Analyze (and report) the state of the data.
4233
#[derive(clap::Args, Debug)]
4334
pub struct Report {

0 commit comments

Comments
 (0)