(path: string, explicit: boolean)
| 180 | } |
| 181 | |
| 182 | function makeTuiSpec(path: string, explicit: boolean): CheckSpec { |
| 183 | return { |
| 184 | label: 'tui.toml', |
| 185 | path, |
| 186 | explicit, |
| 187 | parse: (text) => { |
| 188 | parseTuiConfig(text); |
| 189 | }, |
| 190 | }; |
| 191 | } |
| 192 | |
| 193 | async function checkTomlFile(deps: ResolvedDoctorDeps, spec: CheckSpec): Promise<CheckResult> { |
| 194 | if (!deps.fileExists(spec.path)) { |
no test coverage detected