mirror of
https://github.com/certd/certd.git
synced 2026-04-26 22:07:29 +08:00
chore:
This commit is contained in:
@@ -103,6 +103,10 @@ export class DeployCertToTencentEO extends AbstractTaskPlugin {
|
|||||||
logger: this.logger,
|
logger: this.logger,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (this.cert == null){
|
||||||
|
throw new Error('请选择域名证书');
|
||||||
|
}
|
||||||
|
|
||||||
let tencentCertId = this.cert as string;
|
let tencentCertId = this.cert as string;
|
||||||
if (typeof this.cert !== 'string') {
|
if (typeof this.cert !== 'string') {
|
||||||
const certReader = new CertReader(this.cert);
|
const certReader = new CertReader(this.cert);
|
||||||
|
|||||||
Reference in New Issue
Block a user