Docs update

This commit is contained in:
Pieter Vander Vennet 2021-09-09 00:30:48 +02:00
parent c428704318
commit 80707a6fb4
15 changed files with 2225 additions and 99 deletions

View file

@ -76,7 +76,6 @@ function run(file, protojson) {
questions.unshift(toggles)
const stringified = questions.map(q => JSON.stringify(q, null, " "))
console.log(stringified)
let proto = readFileSync(protojson, "utf8")
proto = proto.replace("$$$", stringified.join(",\n") + ",")
proto = JSON.parse(proto)