v2-dev
xiaojunnuo 2025-09-01 13:33:12 +08:00
parent b59052cc43
commit 1ceeacc526
1 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,10 @@ export class DeployCertToTencentEO extends AbstractTaskPlugin {
logger: this.logger,
});
if (this.cert == null){
throw new Error('请选择域名证书');
}
let tencentCertId = this.cert as string;
if (typeof this.cert !== 'string') {
const certReader = new CertReader(this.cert);