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 module resolver infinite loop for Windows #92

Closed
wants to merge 1 commit into from

Conversation

AndiDog
Copy link

@AndiDog AndiDog commented Nov 18, 2014

The loop while dir not in invalidDirs and dir not in modulePaths could become an infinite loop on Windows because "C:" is not in the list of invalid directories.

Could also do this another way, but this fix should handle 99.9% of the cases (there could also be a network share like "\share\some\path" but most developers don't use that directly).

The loop `while dir not in invalidDirs and dir not in modulePaths` could become an infinite loop on Windows because "C:\\" is not in the list of invalid directories.

Could also do this another way, but this fix should handle 99.9% of the cases (there could also be a network share like "\\share\some\path" but most developers don't use that directly).
@cengebretson
Copy link
Member

Hey there, thanks for the pull request. I should have some time later in the week to pull it in and try it out. Most of the work with hem that I do is on the mac/linux world so definitely appreciate any help on the PC side of the world.

thanks!

@aeischeid
Copy link
Member

@zcoffin86 since you have been helping out with hem path stuff on Windows, have any thoughts on this?

@cengebretson cengebretson removed their request for review April 17, 2019 12:42
@AndiDog
Copy link
Author

AndiDog commented Sep 13, 2019

Outdated

@AndiDog AndiDog closed this Sep 13, 2019
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.

3 participants