mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: 用户创建证书流水线没有购买套餐或者超限时提前报错
This commit is contained in:
@@ -146,6 +146,10 @@ export class RunnableCollection {
|
||||
|
||||
static initPipelineRunnableType(pipeline: Pipeline) {
|
||||
pipeline.runnableType = "pipeline";
|
||||
if (pipeline.stages === undefined) {
|
||||
pipeline.stages = [];
|
||||
return;
|
||||
}
|
||||
pipeline.stages.forEach((stage) => {
|
||||
stage.runnableType = "stage";
|
||||
stage.tasks.forEach((task) => {
|
||||
|
||||
Reference in New Issue
Block a user