(command, args, opts, cmdDryRun = false)
| 64 | * @param {Boolean} [cmdDryRun] - dry-run flag |
| 65 | */ |
| 66 | export async function execAsync(command, args, opts, cmdDryRun = false) { |
| 67 | return cmdDryRun |
| 68 | ? logExecDryRunCommand(command, args) |
| 69 | : (await x('git', args, opts)).stdout.trim(); |
| 70 | } |
| 71 | |
| 72 | /** |
| 73 | * Log the exec command without actually executing the actual command |
no test coverage detected