mirror of https://github.com/certd/certd
fix: 支持自定义证书生成插件
parent
bdaf58a3c4
commit
481cc029fa
|
@ -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 || [];
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue