(outputFilename: string)
| 55 | } |
| 56 | |
| 57 | const resolveOutputPath = async (outputFilename: string): Promise<string> => { |
| 58 | if (customOutputPath) { |
| 59 | const absoluteOutputPath = resolve(cwd, customOutputPath) |
| 60 | const stat = await fs.stat(absoluteOutputPath).catch(() => null) |
| 61 | |
| 62 | if (stat?.isDirectory()) { |
| 63 | return resolve(absoluteOutputPath, outputFilename) |
| 64 | } |
| 65 | |
| 66 | return absoluteOutputPath |
| 67 | } |
| 68 | |
| 69 | return resolve(cwd, outputFilename) |
| 70 | } |
| 71 | |
| 72 | const absolutePath = resolve(cwd, inputPath) |
| 73 |
no outgoing calls
no test coverage detected