This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new c4bbda3e fix: checkout refdiffRules is nil (#3596)
c4bbda3e is described below
commit c4bbda3e67a628cfd115562379064a825cf0ccb1
Author: tsoc <[email protected]>
AuthorDate: Fri Oct 28 14:31:07 2022 +0800
fix: checkout refdiffRules is nil (#3596)
---
plugins/bitbucket/api/blueprint.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/bitbucket/api/blueprint.go
b/plugins/bitbucket/api/blueprint.go
index a79c584e..022b6c62 100644
--- a/plugins/bitbucket/api/blueprint.go
+++ b/plugins/bitbucket/api/blueprint.go
@@ -78,7 +78,7 @@ func makePipelinePlan(subtaskMetas []core.SubTaskMeta, scope
[]*core.BlueprintSc
}
}
// refdiff
- if refdiffRules, ok := transformationRules["refdiff"]; ok {
+ if refdiffRules, ok := transformationRules["refdiff"]; ok &&
refdiffRules != nil {
// add a new task to next stage
j := i + 1
if j == len(plan) {