(inputPath: string, options: PathResolutionOptions = {})
| 20 | } |
| 21 | |
| 22 | export function resolveUserPath(inputPath: string, options: PathResolutionOptions = {}): string { |
| 23 | const expandedPath = expandUserHomePath(inputPath, options); |
| 24 | if (path.isAbsolute(expandedPath)) return expandedPath; |
| 25 | return path.resolve(options.cwd ?? process.cwd(), expandedPath); |
| 26 | } |
no test coverage detected