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 load path order, preferring cwd #13

Closed
wants to merge 1 commit into from
Closed

Fix load path order, preferring cwd #13

wants to merge 1 commit into from

Conversation

schnerd
Copy link

@schnerd schnerd commented Feb 18, 2015

Proposed fix for issue #12

This commit no longer pushes to the Graph.loadPaths array, but instead creates a local loadPaths array with the cwd concatenated with Graph.loadPaths–this should ensure that the loadPaths from one module don't bleed over into another. There's still one part of the code that might be depending on Graph.loadPaths at #L74, however–but it's not clear why that's needed and tests appear to pass regardless.

I also had to change the fixtures directories up a little bit to add a new test case for this issue.

@kkopachev
Copy link

Any news on that?

@xzyfer
Copy link
Owner

xzyfer commented Mar 31, 2015

I'll take a look this weekend.

@xzyfer xzyfer mentioned this pull request May 4, 2015
5 tasks
@xzyfer xzyfer closed this in #28 May 4, 2015
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