forked from MapComplete/MapComplete
Fix licenses
This commit is contained in:
parent
90dfe7298f
commit
59a1d88256
2 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"path": "hotel.svg",
|
||||
"license": "",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Andy Allan",
|
||||
"Michael Glanznig",
|
||||
|
|
|
@ -261,7 +261,9 @@ function main(args: string[]) {
|
|||
mkdirSync("./assets/generated")
|
||||
}
|
||||
|
||||
let contents = ScriptUtils.readDirRecSync("./assets").filter(
|
||||
let contents = ScriptUtils.readDirRecSync("./assets")
|
||||
.filter(p => !p.startsWith("./assets/templates/"))
|
||||
.filter(
|
||||
(entry) => entry.indexOf("./assets/generated") != 0
|
||||
)
|
||||
let licensePaths = contents.filter((entry) => entry.indexOf("license_info.json") >= 0)
|
||||
|
|
Loading…
Reference in a new issue