mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
xtask: Add copyright headers to CARGO.toml files as well
This commit is contained in:
parent
ecf6ac4558
commit
c22f3322ca
1 changed files with 4 additions and 1 deletions
|
@ -633,7 +633,10 @@ impl LicenseHeaderCheck {
|
|||
|
||||
match location {
|
||||
LicenseLocation::Tag(tag_style) => self.check_file_tags(path, tag_style),
|
||||
LicenseLocation::Crate => self.check_cargo_toml(path),
|
||||
LicenseLocation::Crate => {
|
||||
self.check_file_tags(path, &LicenseTagStyle::shell_comment_style())?;
|
||||
self.check_cargo_toml(path)
|
||||
}
|
||||
LicenseLocation::NoLicense => {
|
||||
if self.verbose {
|
||||
println!("Skipping {} as configured", path_str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue