forked from MapComplete/MapComplete
Fix licenses
This commit is contained in:
parent
90dfe7298f
commit
59a1d88256
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue