fix: bash -lc 改为 bash -c,避免嵌套登录 shell 导致 npm 静默失败
This commit is contained in:
parent
f6e9c20396
commit
80d84888a4
@ -223,7 +223,7 @@ function runSsh(config, remoteScript, options = {}) {
|
|||||||
const args = [
|
const args = [
|
||||||
...buildSshBaseArgs(config),
|
...buildSshBaseArgs(config),
|
||||||
`${config.username}@${config.host}`,
|
`${config.username}@${config.host}`,
|
||||||
`bash -lc ${quoteForBash(remoteScript)}`,
|
`bash -c ${quoteForBash(remoteScript)}`,
|
||||||
];
|
];
|
||||||
|
|
||||||
return runCommand('ssh', args, {
|
return runCommand('ssh', args, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user