Skip to content

Commit 49d585b

Browse files
committed
[core] Fix typo in subworkflo template identifier resolution
1 parent 5dd3a78 commit 49d585b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

core/repos/repo.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ func (r *Repo) ResolveSubworkflowTemplateIdentifier(workflowTemplateExpr string)
140140
}
141141

142142
if !strings.Contains(expr, "@") {
143-
expr += "@" + r.Revision
144-
} else {
145143
expr += "@" + r.Hash
146144
}
147145

0 commit comments

Comments
 (0)