(command: string, args: string[] = [])
| 70 | } |
| 71 | |
| 72 | function joinCommand(command: string, args: string[] = []): string { |
| 73 | if (!Array.isArray(args) || !args.length) return quoteArg(command); |
| 74 | return [quoteArg(command), ...args.map((arg) => quoteArg(arg))].join(" "); |
| 75 | } |
| 76 | |
| 77 | export { formatCommand } from "./installRuntime"; |
| 78 |
no test coverage detected