forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
d3b6c090f3
commit
332f960f86
57 changed files with 2884 additions and 1972 deletions
|
@ -898,7 +898,7 @@ class LayerOverviewUtils extends Script {
|
|||
console.log("Creating needed_assets-file")
|
||||
const images = Lists.dedup(
|
||||
Array.from(sharedThemes.values()).flatMap((th) => th._usedImages ?? [])
|
||||
).flatMap(path => ScriptUtils.detectVariablePaths(path))
|
||||
).flatMap((path) => ScriptUtils.detectVariablePaths(path))
|
||||
|
||||
writeFileSync("needed_assets.csv", images.join("\n"))
|
||||
console.log("Written needed_assets.csv")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue