mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
fix: 修复流水线列表step数量统计错误的bug
This commit is contained in:
@@ -131,7 +131,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
|
|||||||
let stepCount = 0;
|
let stepCount = 0;
|
||||||
if (pipeline.stages) {
|
if (pipeline.stages) {
|
||||||
RunnableCollection.each(pipeline.stages, (runnable: any) => {
|
RunnableCollection.each(pipeline.stages, (runnable: any) => {
|
||||||
stepCount++;
|
if (runnable.runnableType === "step") {
|
||||||
|
stepCount++;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|||||||
Reference in New Issue
Block a user