()
| 34 | } |
| 35 | |
| 36 | function 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 | |
| 46 | function writeToolsConfig(content) { |
| 47 | try { |