Update common.ts
This commit is contained in:
parent
356949dd54
commit
7aaad314e3
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ export async function executeCommand({
|
||||||
}
|
}
|
||||||
if (sshCommand) {
|
if (sshCommand) {
|
||||||
if (shell) {
|
if (shell) {
|
||||||
return execaCommand(`ssh ${remoteIpAddress}-remote ${command}`, { shell: true });
|
return execaCommand(`ssh ${remoteIpAddress}-remote ${command}`);
|
||||||
}
|
}
|
||||||
return await execa('ssh', [`${remoteIpAddress}-remote`, dockerCommand, ...dockerArgs]);
|
return await execa('ssh', [`${remoteIpAddress}-remote`, dockerCommand, ...dockerArgs]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue