fix(license): don't warn if license-file is present

master
Ashley Williams 6 years ago
parent 52e7539590
commit f37d46a79e
  1. 2
      src/manifest/mod.rs

@ -742,7 +742,7 @@ impl CrateData {
if self.manifest.package.repository.is_none() {
messages.push("repository");
}
if self.manifest.package.license.is_none() {
if self.manifest.package.license.is_none() && self.manifest.package.license_file.is_none() {
messages.push("license");
}

Loading…
Cancel
Save