( path: string, explicit: boolean, deps: ResolvedDoctorDeps, )
| 165 | } |
| 166 | |
| 167 | function makeConfigSpec( |
| 168 | path: string, |
| 169 | explicit: boolean, |
| 170 | deps: ResolvedDoctorDeps, |
| 171 | ): CheckSpec { |
| 172 | return { |
| 173 | label: 'config.toml', |
| 174 | path, |
| 175 | explicit, |
| 176 | parse: (text, filePath) => { |
| 177 | return deps.validateConfigToml(text, filePath); |
| 178 | }, |
| 179 | }; |
| 180 | } |
| 181 | |
| 182 | function makeTuiSpec(path: string, explicit: boolean): CheckSpec { |
| 183 | return { |
no test coverage detected