(command: string)
| 31 | } |
| 32 | |
| 33 | function wrapShellCommand(command: string): string { |
| 34 | const script = command.trim(); |
| 35 | return `sh -lc ${quoteArg(`set -e\n${script}`)}`; |
| 36 | } |
| 37 | |
| 38 | export async function runQuickCommand(command: string): Promise<string> { |
| 39 | const wrapped = wrapShellCommand(command); |
no test coverage detected