Skip to content

Conversation

@dabcoder
Copy link

@dabcoder dabcoder commented Nov 17, 2020

Add option to set the number of builds in the config


apiKey string `help:"Your CircleCI API token."`
apiKey string `help:"Your CircleCI API token."`
buildNumber int `help:"The number of build, 10 by default"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would suggest numberOfBuilds instead. buildNumber could be misconstrued as a specific build number (ie. 453) rather than a quantity.

Copy link
Author

Choose a reason for hiding this comment

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

Agreed. Adressed this in 5b17ddf, thanks for the review.
Not sure why the linting fails in https://github.com/wtfutil/wtf/pull/1025/checks?check_run_id=1421195730 though.

@senorprogrammer
Copy link
Collaborator

Looks great to me. One small request and then I'm happy to merge it.

@dabcoder dabcoder marked this pull request as ready for review November 18, 2020 22:57
@senorprogrammer
Copy link
Collaborator

That linting error is strange, and I'm going to ignore it.

@senorprogrammer senorprogrammer merged commit aae1cf5 into wtfutil:master Nov 22, 2020
@senorprogrammer
Copy link
Collaborator

Good stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants