-
Notifications
You must be signed in to change notification settings - Fork 24
fix: fix resolve error #77
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
Conversation
hi @aziz could you please take a look on my PR, thank you. |
@aziz can we get this merged? Pinging @cristianl since there was recent activity from him! |
hyper_click/generic_path_resolver.py
Outdated
@@ -150,7 +150,7 @@ def resolve_as_file(self, path_name): | |||
if path.isfile(path_name): | |||
return path_name | |||
|
|||
with_ext = self.resolve_with_exts(path_name) | |||
with_ext = self.resolve_with_exts(path_name) or self.resolve_with_exts(path.join(path_name, 'index')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iahu is this necessary? There is already index
file check in resolve_index
method. Maybe that method should be changed to self.resolve_with_exts(path.join(path_name, 'index'))
and this line left unmodified?
@cristianl it’s not available on Package Control? |
Probably should be tagged as https://packagecontrol.io/docs/submitting_a_package#Step_4
|
jsx
andtsx
scopes