()
| 73 | } |
| 74 | |
| 75 | async function copyFiles() { |
| 76 | try { |
| 77 | for (const destPath of copyPaths) { |
| 78 | await copyToDestination(destPath); |
| 79 | } |
| 80 | console.log(`✅ Copied ${files.length} files to ${copyPaths.length} destination(s)`); |
| 81 | } catch (error) { |
| 82 | console.error('❌ Failed to copy files:', error.message); |
| 83 | process.exit(1); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | copyFiles(); |
no test coverage detected