Rename some files

This commit is contained in:
Pieter Vander Vennet 2021-09-06 02:01:55 +02:00
parent 00eb6aa008
commit 8c6db095c4
3 changed files with 1 additions and 6 deletions

View file

@ -58,7 +58,7 @@ function run() {
const stringified = questions.map(q => JSON.stringify(q, null, " "))
console.log(stringified)
let proto = readFileSync("charging_station.proto.json", "utf8")
let proto = readFileSync("charging_station.protojson", "utf8")
proto = proto.replace("$$$", stringified.join(",\n") + ",")
writeFileSync("charging_station.json", proto)
}

View file

@ -1,5 +0,0 @@
#! /bin/bash
cp csvToJson.tsd csvToJson.ts
ts-node csvToJson.ts
# rm csvToJson.ts
npm run generate:layeroverview