(winPath)
| 55 | |
| 56 | // Convert Windows path to WSL path |
| 57 | function toWSLPath(winPath) { |
| 58 | // Normalize path separators |
| 59 | const normalized = path.resolve(winPath).replace(/\\/g, '/'); |
| 60 | // Extract drive letter (should be first character) |
| 61 | const drive = normalized[0].toLowerCase(); |
| 62 | // Convert C:/path to /mnt/c/path |
| 63 | return `/mnt/${drive}${normalized.substring(2)}`; |
| 64 | } |
| 65 | |
| 66 | // Build using WSL |
| 67 | function buildWithWSL() { |
no outgoing calls
no test coverage detected