Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-754: Allow undefined count #791

Merged
merged 7 commits into from
Dec 17, 2021
Merged

gh-754: Allow undefined count #791

merged 7 commits into from
Dec 17, 2021

Conversation

littlewhywhat
Copy link
Contributor

@littlewhywhat littlewhywhat commented May 25, 2021

Closes gh-754

Allow count be undefined... looks like it was supported before in js version as well as cli doesn't provide it but then count is typed as compulsory.

TODO:

  • add test
  • fix failures

@littlewhywhat
Copy link
Contributor Author

@Shinigami92 does it make sense to you?

@Shinigami92
Copy link
Collaborator

@Shinigami92 does it make sense to you?

Yeah, could make sense.
I'm just thinking about if we could use const { count = 1 } = options or something like that 🤔

@littlewhywhat littlewhywhat force-pushed the gh-754-optional-count branch 2 times, most recently from bef0c45 to e726740 Compare December 17, 2021 13:27
@littlewhywhat
Copy link
Contributor Author

hi @Shinigami92! Thanks for the tip to use default value 👍 i think it's ready to merge. Would appreciate if you take a look and approve

Copy link
Collaborator

@Shinigami92 Shinigami92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@littlewhywhat littlewhywhat merged commit c69a4ef into master Dec 17, 2021
@Shinigami92 Shinigami92 deleted the gh-754-optional-count branch March 4, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RunnerOption (RunnerOptionConfig) Type does not have an optional value for count?
2 participants