chore: 敏感数据隐藏输出

This commit is contained in:
xiaojunnuo
2026-02-06 16:49:19 +08:00
parent 9f55c3605a
commit 74400aacc6
2 changed files with 7 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ export abstract class CertApplyBasePlugin extends CertApplyBaseConvertPlugin {
abstract doCertApply(): Promise<CertReader>;
async execute(): Promise<string | void> {
this.logger.addSecret(this.pfxPassword);
const oldCert = await this.condition();
if (oldCert != null) {
await this.output(oldCert, false);