( pathValue: string | undefined, cwd: string = process.cwd(), )
| 32 | export function resolvePathFromCwd(pathValue: string, cwd?: string): string; |
| 33 | export function resolvePathFromCwd(pathValue: string | undefined, cwd?: string): string | undefined; |
| 34 | export function resolvePathFromCwd( |
| 35 | pathValue: string | undefined, |
| 36 | cwd: string = process.cwd(), |
| 37 | ): string | undefined { |
| 38 | if (pathValue === undefined) { |
| 39 | return undefined; |
| 40 | } |
| 41 | return path.resolve(cwd, expandHomePrefix(pathValue)); |
| 42 | } |
no test coverage detected