MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / langError

Function langError

utils/lang.js:197–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195 const langData = JSON.parse(fs.readFileSync(langFile, "utf8"));
196
197 const langError = () => {
198 if (!flagError) {
199 error = true;
200 flagError = true;
201 console.log(`-------------- ${file}`);
202 }
203 };
204
205 for (const enKey of enKeys) {
206 const key = Object.keys(langData).find((k) => {

Callers 1

updateFunction · 0.85

Calls 1

logMethod · 0.80

Tested by

no test coverage detected