(sourcePath, targetPath)
| 245 | } |
| 246 | |
| 247 | function copyPath(sourcePath, targetPath) { |
| 248 | const stats = fs.statSync(sourcePath); |
| 249 | if (stats.isDirectory()) { |
| 250 | fs.cpSync(sourcePath, targetPath, { |
| 251 | recursive: true, |
| 252 | force: true, |
| 253 | filter: (entry) => path.basename(entry) !== '.git', |
| 254 | }); |
| 255 | return; |
| 256 | } |
| 257 | |
| 258 | fs.mkdirSync(path.dirname(targetPath), { recursive: true }); |
| 259 | fs.copyFileSync(sourcePath, targetPath); |
| 260 | } |
| 261 | |
| 262 | function ensureWrapperProject() { |
| 263 | wrapperProjectFiles.forEach((relativePath) => { |
no outgoing calls
no test coverage detected