chore: 优化代码格式

This commit is contained in:
xiaojunnuo
2026-06-14 20:59:38 +08:00
parent a3a215b7ae
commit e913fe509c
13 changed files with 202 additions and 208 deletions
@@ -33,10 +33,7 @@ export class AwsClient {
// Split the full PEM chain: first block is the leaf cert, the rest is the intermediate chain
const pemBlocks = certInfo.crt.split(/(?<=-----END CERTIFICATE-----)/);
const cert = pemBlocks[0].trim();
const chain = pemBlocks
.slice(1)
.join("")
.trim();
const chain = pemBlocks.slice(1).join("").trim();
// 构建上传参数
const data = await acmClient.send(