MCPcopy Create free account
hub / github.com/Necriso/ScriptableWidgets / loadConfig

Function loadConfig

tankstellenpreisev2_beta.js:99–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99async function loadConfig() {
100 let data
101
102 if (configExits) {
103 console.log("Get from file")
104 data = JSON.parse(files.readString(configPath))
105 } else {
106 data = null
107 }
108 return data
109}
110
111async function loadStation() {
112 let location

Callers 2

loadStationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected