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

Make self.project_dir not hardcoded to '.' in TopLevelCommand #4709

Closed
wants to merge 2 commits into from

Conversation

joshgordon
Copy link

I was digging through cli/main.py to try to figure some stuff out and I noticed something a bit odd. Figured I'd open a PR for a fix.

Signed-off-by: Josh Gordon <github@joshgordon.net>
Signed-off-by: Josh Gordon <github@joshgordon.net>
@@ -111,7 +111,7 @@ def perform_command(options, handler, command_options):
handler(command, options, command_options)
return

project = project_from_options('.', options)
project = project_from_options(self.project_dir, options)
Copy link

Choose a reason for hiding this comment

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

This ought to be command.project_dir, I think.

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.

None yet

3 participants