( deps: ResolvedDoctorDeps, input: string | undefined, cwd: string, )
| 225 | } |
| 226 | |
| 227 | function resolveTuiTargetPath( |
| 228 | deps: ResolvedDoctorDeps, |
| 229 | input: string | undefined, |
| 230 | cwd: string, |
| 231 | ): string { |
| 232 | return input === undefined ? deps.defaultTuiConfigPath() : resolveInputPath(input, cwd); |
| 233 | } |
| 234 | |
| 235 | function resolveInputPath(input: string, cwd: string): string { |
| 236 | return isAbsolute(input) ? input : resolve(cwd, input); |
no test coverage detected