Skip to content

"loop: 0" gives "failed to record: store.stepMapKeys is zero" error #1144

@h6ah4i

Description

@h6ah4i

Hi, is this behavior intended? I think it would be more convenient to just skip the step if the loop count is zero.

# hello.yaml
vars:
  hello: "hello"

steps:
  hello:
    loop: 0
    dump: vars.hello
❯ runn run hello.yaml
F

1) hello.yaml f867c113c092691380b75e3e1a5fdf463bce15e4
  Failure/Error: failed to record: store.stepMapKeys is zero

1 scenario, 0 skipped, 1 failure

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions