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: pass dir handler to init command #335

Merged
merged 1 commit into from
Dec 9, 2020
Merged

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Dec 9, 2020

This is just fixing an unforeseen side effect of #333
Screenshot 2020-12-09 at 11 09 58

where we'd pass full file path to askInitForEmptyRootModule treating it like a directory path, when it isn't.

I guess the cleanest way of prevent similar bugs would be to have clearer separation between file handlers and dir handlers, instead of interfaces hiding parts of the "universal" handler.

@radeksimko radeksimko added the bug Something isn't working label Dec 9, 2020
@radeksimko radeksimko requested a review from a team December 9, 2020 10:08
Copy link
Contributor

@appilon appilon left a comment

Choose a reason for hiding this comment

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

Huh i swear i looked at this... my eyes lied to me

@radeksimko radeksimko merged commit 8e0412a into main Dec 9, 2020
@radeksimko radeksimko deleted the b-dir-handler-for-init branch December 9, 2020 13:35
@ghost
Copy link

ghost commented Jan 8, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants