Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Sep 18, 2024
1 parent 08f3c64 commit 53cdb41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rust-crate-scanner/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ fn scan(
format!("Failed to parse {:?}: {:?}", &cargo_toml_path, err)
})?;
let package_license = manifest.package.map(|pkg| pkg.license).flatten();
let workspace_license = manifest.workspace.clone().map(|ws| ws.package.map(|pkg| pkg.license).flatten()).flatten();

match package_license {
Some(license) => match license {
Expand Down

0 comments on commit 53cdb41

Please sign in to comment.