Skip to content

Conversation

@redstonemercury
Copy link

Updated the function to traverse multiple paths if they are present in modulepath, and stop when the first location where the specified templates path exists is found. This allows the function to work in cases where the first modulepath is not the one the module using recurse_directory function is located in.

Also, cleaned up some of the indentation just to make it easier for myself to follow what the function was doing. If preferred, I can roll back the indentation changes to make this easier to review.

@artdevgame
Copy link

@rtucker-mozilla This PR fixes problems for me, can you pull it into the upstream please?

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.

2 participants