Skip to content

Fix Bash glob when Rust hash ends in d #12

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

Merged
merged 1 commit into from
Feb 18, 2019

Conversation

TheBiggerGuy
Copy link
Contributor

When the Rust hash ends in a "d" the previous blob would fail to match.
This is due to #3 which fixed an issue where Rust generated ".d" files
that should correctly be filtered.

This new version loops over both the correct files and ".d" files.
Within the loop it checks for if the file is executable as its
filtering of the ".d" files.

I believe in general this is a better design as the more advanced Bash
glob is not very portable.

When the Rust hash ends in a "d" the previous blob would fail to match.
This is due to codecov#3 which fixed an issue where Rust generated ".d" files
that should correctly be filtered.

This new version loops over both the correct files and ".d" files.
Within the loop it checks for if the file is executable as its
filtering of the ".d" files.

I believe in general this is a better design as the more advanced Bash
glob is not very portable.
Copy link
Collaborator

@sunjay sunjay left a comment

Choose a reason for hiding this comment

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

Thank you! Appreciate you taking the time to fix this. 😄

@sunjay sunjay merged commit ccaa364 into codecov:master Feb 18, 2019
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.

2 participants