mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
fix: 支持自定义证书生成插件
This commit is contained in:
@@ -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 || [];
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user