Fix license check

This commit is contained in:
Simon Hausmann 2020-10-05 15:26:19 +02:00
parent cf670529ca
commit 30f2be7a22

View file

@ -194,6 +194,7 @@ lazy_static! {
static ref LICENSE_LOCATION_FOR_FILE: Vec<(regex::Regex, LicenseLocation)> = [
("^helper_crates/const-field-offset/src/lib.rs$", LicenseLocation::NoLicense), // Upstream fork
("^helper_crates/const-field-offset/Cargo.toml$", LicenseLocation::NoLicense), // Upstream fork
("^tools/online_editor/index.ts$", LicenseLocation::NoLicense),
(".+webpack\\.config\\.js$", LicenseLocation::NoLicense),
(".+\\.rs$", LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
(".+\\.js$", LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),