mirror of https://github.com/certd/certd
chore:
parent
3f74d4d9e5
commit
aa1da7c11a
|
@ -305,7 +305,7 @@ cert.jks:jks格式证书文件,java服务器使用
|
||||||
async readLastCert(): Promise<CertReader | undefined> {
|
async readLastCert(): Promise<CertReader | undefined> {
|
||||||
const cert = this.lastStatus?.status?.output?.cert;
|
const cert = this.lastStatus?.status?.output?.cert;
|
||||||
if (cert == null) {
|
if (cert == null) {
|
||||||
this.logger.info("没有找到上次的证书,lastStatus:", JSON.stringify(this.lastStatus?.status));
|
this.logger.info("没有找到上次的证书");
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
return new CertReader(cert);
|
return new CertReader(cert);
|
||||||
|
|
Loading…
Reference in New Issue