axodotdev / cargo-dist

📦 shippable application packaging
https://axodotdev.github.io/cargo-dist/
Apache License 2.0
1.31k stars 56 forks source link

feat: clamp workspace search to root of current repo #1158

Closed mistydemeo closed 1 week ago

mistydemeo commented 1 week ago

Previously, it was possible for axoproject to reach outside the root of the current repository and find things in the parent repository. This caused problems for our tests, where we might find multiple workspaces and end up preferring cargo-dist itself over the repo we're trying to run tests on.

mistydemeo commented 1 week ago

Good call, done.