forked from MapComplete/MapComplete
Fix charging stations theme
This commit is contained in:
parent
2240c0ab7c
commit
8b5c0c64cd
4 changed files with 3120 additions and 2 deletions
File diff suppressed because it is too large
Load diff
|
@ -229,7 +229,7 @@ function run(file, protojson) {
|
|||
const stringified = questions.map(q => JSON.stringify(q, null, " "))
|
||||
let protoString = readFileSync(protojson, "utf8")
|
||||
|
||||
protoString = protoString.replace("{\"#\": \"$$$\"}", stringified.join(",\n"))
|
||||
protoString = protoString.replace("{\"id\": \"$$$\"}", stringified.join(",\n"))
|
||||
const proto = <LayerConfigJson> JSON.parse(protoString)
|
||||
proto.tagRenderings.forEach(tr => {
|
||||
if(typeof tr === "string"){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue