(config: InspectConfig)
| 69 | |
| 70 | const CONFIG_PATH = path.join(os.homedir(), '.valdi-inspect.json'); |
| 71 | |
| 72 | export function loadInspectConfig(): InspectConfig { |
| 73 | try { |
| 74 | return JSON.parse(fs.readFileSync(CONFIG_PATH, 'utf8')) as InspectConfig; |
| 75 | } catch { |
| 76 | return {}; |
no test coverage detected