1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-29 21:48:14 +02:00

Fix slice unmarshaling (#3097)

closes #3055
This commit is contained in:
Anbraten
2024-01-01 11:03:31 +01:00
committed by GitHub
parent b61013c7a5
commit 6fbf98f1b9
5 changed files with 69 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ func newDAGCompiler(steps []*dagCompilerStep, prefix string) dagCompiler {
func (c dagCompiler) isDAG() bool {
for _, v := range c.steps {
if len(v.dependsOn) != 0 {
if v.dependsOn != nil {
return true
}
}