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

Function writeToolsConfig

scripts/update-tool-release.js:46–54  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

44}
45
46function writeToolsConfig(content) {
47 try {
48 fs.writeFileSync(TOOLS_CONFIG_PATH, content, "utf8");
49 console.log("✅ Tools config updated successfully");
50 } catch (error) {
51 console.error("Error writing tools config:", error.message);
52 process.exit(1);
53 }
54}
55
56function findToolInConfig(content, toolName) {
57 // Find the tool by name in the config

Callers 1

mainFunction · 0.85

Calls 2

logMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected