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

fix: end-start was confusing should be swapped #68

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

marco-ippolito
Copy link
Contributor

No description provided.

Copy link
Contributor

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

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

Can you explain why we're making this change? It doesn't look right 😕

@marco-ippolito
Copy link
Contributor Author

marco-ippolito commented Dec 13, 2024

Can you explain why we're making this change? It doesn't look right 😕

The beforeDate is the end of the range
The afterDate is the start of the range

@gkalpak
Copy link
Contributor

gkalpak commented Dec 13, 2024

Doh! I don't know what I was thinking 🤦‍♂️

@@ -23,12 +23,12 @@ export const reportCommittersCommand: CommandModule<object, Options> = {
beforeDate: {
alias: 's',
Copy link
Contributor

@gkalpak gkalpak Dec 13, 2024

Choose a reason for hiding this comment

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

I think it would make sense to also swap the aliases (I assume s stands for "start" and e for "end").

(That would be a breaking change though 🤔)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah agreed but release a major for this 😆 sounds funny

@marco-ippolito marco-ippolito merged commit b99e95e into herodevs:main Dec 13, 2024
14 checks passed
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.

3 participants