MCPcopy Create free account
hub / github.com/aghyad97/browserytools / readToolsConfig

Function readToolsConfig

scripts/update-tool-release.js:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36function readToolsConfig() {
37 try {
38 const content = fs.readFileSync(TOOLS_CONFIG_PATH, "utf8");
39 return content;
40 } catch (error) {
41 console.error("Error reading tools config:", error.message);
42 process.exit(1);
43 }
44}
45
46function writeToolsConfig(content) {
47 try {

Callers 1

mainFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected