fix: 支持自定义证书生成插件

pull/453/head
xiaojunnuo 2025-07-01 15:18:55 +08:00
parent bdaf58a3c4
commit 481cc029fa
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
let domains = [];
if (pipeline.stages) {
RunnableCollection.each(pipeline.stages, (runnable: any) => {
if (runnable.runnableType === 'step' && runnable.type.startsWith('CertApply')) {
if (runnable.runnableType === 'step' && runnable.type.indexOf('CertApply')>=0) {
domains = runnable.input.domains || [];
}
});