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(plugins/languages): skip merge commits from recent analysis #517

Merged
merged 1 commit into from
Sep 4, 2021

Conversation

lowlighter
Copy link
Owner

@lowlighter lowlighter commented Sep 3, 2021

Skip merge commits (assuming parents > 2) from recent language analysis

Closes #502

@lowlighter lowlighter changed the title fix(plugin/languages): skip merge commits from recent analysis fix(plugin/language s): skip merge commits from recent analysis Sep 4, 2021
@lowlighter lowlighter changed the title fix(plugin/language s): skip merge commits from recent analysis fix(plugins/languages): skip merge commits from recent analysis Sep 4, 2021
@lowlighter lowlighter merged commit a6ad9da into master Sep 4, 2021
@lowlighter lowlighter deleted the fix-languages-merge-commit branch September 4, 2021 07:46
]
.filter(({parents}) => parents.length <= 1)
Copy link
Contributor

Choose a reason for hiding this comment

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

Apparently the parents key is not always there:
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge commit not skipped in language stats
3 participants