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 dead code path exclusion when passing custom paths #569

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

Morriar
Copy link
Collaborator

@Morriar Morriar commented Jun 20, 2024

Before this PR the excluded path lists where composed using the current execution path.

So running spoom deadcode ../my_project -x tmp/ would try to ignore files matching ./tmp/** rather than ../tmp/**.

See automated tests for more examples.

Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@Morriar Morriar added the bugfix Fix a bug label Jun 20, 2024
@Morriar Morriar self-assigned this Jun 20, 2024
@Morriar Morriar requested a review from a team as a code owner June 20, 2024 15:33
@Morriar Morriar merged commit 4557128 into main Jun 20, 2024
8 checks passed
@Morriar Morriar deleted the at-fix-deadcode-path-exclusion branch June 20, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fix a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants