(passedPath: string)
| 39 | } |
| 40 | |
| 41 | function createDirectoryIfNotExists(passedPath: string): void { |
| 42 | const dirPath = relativePath(passedPath, 0); |
| 43 | if (!fs.existsSync(dirPath)) { |
| 44 | fs.mkdirSync(dirPath, { recursive: true }); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | let outputDirectoryCreated = false; |
| 49 | function createOutputDirectoryIfNotExists(): void { |
no test coverage detected