(file)
| 151 | } |
| 152 | |
| 153 | function readJsonFile(file) { |
| 154 | try { |
| 155 | if (!file || !fs.existsSync(file)) return null; |
| 156 | return JSON.parse(fs.readFileSync(file, 'utf8')); |
| 157 | } catch (_) { |
| 158 | return null; |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | function getClaudeSettingsFile(env) { |
| 163 | var e = env || process.env; |
no test coverage detected