Skip to content

Commit ec1c9f5

Browse files
committed
trim space
1 parent 0a12abf commit ec1c9f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/core/spec/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ func buildContinueOn(_ StepBuildContext, def stepDef, step *core.Step) error {
13081308
switch v := def.ContinueOn.(type) {
13091309
case string:
13101310
// Shorthand syntax: "skipped" or "failed"
1311-
switch strings.ToLower(v) {
1311+
switch strings.ToLower(strings.TrimSpace(v)) {
13121312
case "skipped":
13131313
step.ContinueOn.Skipped = true
13141314
case "failed":

0 commit comments

Comments
 (0)