1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

Fix license check for hyphenation-patterns

This commit is contained in:
Sergey Fuksman 2023-03-29 18:26:55 +03:00
parent f72b714e5a
commit cc102f6541

View file

@ -8,7 +8,7 @@ function processLicenses(licenses, allowedLicenses) {
// The hyphenation language patterns are licensed under the LGPL (unless otherwise noted) and copyrighted to their respective creators and maintainers.
// https://github.com/bramstein/hyphenation-patterns
if (pkgLicenses == "UNKNOWN") {
if (pkg.startsWith("hyphenation.")) {
pkgLicenses = "LGPL"
}