Skip to content

Commit b6e3a1d

Browse files
committed
templates: text/template values should include digits
1 parent f0ddb89 commit b6e3a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/tasktemplate/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const (
1919
)
2020

2121
var (
22-
tmplRegex = regexp.MustCompile(`{{[^}\.]*(\.[A-Za-z_\.]+)[^{]*}}`)
22+
tmplRegex = regexp.MustCompile(`{{[^}\.]*(\.[A-Za-z0-9_\.]+)[^{]*}}`)
2323
)
2424

2525
func validTemplate(template string, inputs, resolverInputs []string, steps map[string]*step.Step) error {

0 commit comments

Comments
 (0)