(command)
| 65 | } |
| 66 | |
| 67 | function splitCommand(command) { |
| 68 | const matches = String(command || '').match(/"[^"]*"|'[^']*'|\S+/g) || []; |
| 69 | return matches.map((part) => part.replace(/^["']|["']$/g, '')); |
| 70 | } |
| 71 | |
| 72 | function runCommand(projectRoot, command) { |
| 73 | const parts = splitCommand(command); |