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

Patch recursive project directories #14

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

claytongentry
Copy link
Member

The workspace and vectors calls currently recursively create project directories within a given project directory. This was happening because the vectors were being instantiated with a project configured with a directory set to File.basename(Dir.getwd), which was creating a new <my_project> directory within the top level <my_project> directory.

This is best solved by just deleting the project argument altogether. We're only using it to locate a directory. Simpler to just assume we're in the project directory when we invoke the command. We could also add some project.yaml exists? type validation to guarantee you're running in a manifolds project.

Also patched a couple of miscellaneous runtime errors surfaced when actually invoking the gem against a real project.

@claytongentry claytongentry merged commit 225b9ac into master Nov 18, 2024
3 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.

1 participant