(inputPath: string, cwd: string, allowedRoots: string[])
| 41 | } |
| 42 | |
| 43 | export function resolveAllowedPath(inputPath: string, cwd: string, allowedRoots: string[]): string { |
| 44 | const absolutePath = resolve(cwd, inputPath); |
| 45 | return assertAllowedPath(absolutePath, allowedRoots); |
| 46 | } |
no test coverage detected