mirror of https://github.com/certd/certd
chore: 1
parent
0f0ddb9c59
commit
9fdb560528
|
@ -235,7 +235,7 @@ export class UploadCertToHostPlugin extends AbstractTaskPlugin {
|
|||
handle,
|
||||
});
|
||||
|
||||
if (this.script?.trim()) {
|
||||
if (this.script && this.script?.trim()) {
|
||||
this.logger.info('执行脚本命令');
|
||||
const scripts = this.script.split('\n');
|
||||
await sshClient.exec({
|
||||
|
|
Loading…
Reference in New Issue