(filePath: string)
| 313 | .replaceAll("{{PACK_CONFIG_PATH}}", packConfigPath); |
| 314 | |
| 315 | const copyDir = (srcDir: string, destDir: string): void => { |
| 316 | fs.mkdirSync(destDir, { recursive: true }); |
| 317 | |
| 318 | for (const entry of fs.readdirSync(srcDir, { withFileTypes: true })) { |
| 319 | if (entry.name === ".DS_Store") { |
| 320 | continue; |
| 321 | } |
| 322 | |
| 323 | const srcPath = path.join(srcDir, entry.name); |
| 324 | const destPath = path.join(destDir, entry.name); |
| 325 | |
| 326 | if (entry.isDirectory()) { |
| 327 | copyDir(srcPath, destPath); |
| 328 | continue; |
| 329 | } |
| 330 |
no outgoing calls
no test coverage detected