(result: string, token: string, noSpace = false)
| 1188 | |
| 1189 | // Helper: Add token with appropriate spacing |
| 1190 | function addToken(result: string, token: string, noSpace = false): string { |
| 1191 | if (!result || noSpace) return result + token |
| 1192 | return result + ' ' + token |
| 1193 | } |
| 1194 | |
| 1195 | function reconstructCommand(kept: ParseEntry[], originalCmd: string): string { |
| 1196 | if (!kept.length) return originalCmd |
no outgoing calls
no test coverage detected