Merge pull request #693 from rustwasm/check-license-file

fix(license): don't warn if license-file is present
master
ashley williams 6 years ago committed by GitHub
commit 6abaf0434c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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