Normalize dependency graph paths - Fix broken dependencies on Windows#286
Normalize dependency graph paths - Fix broken dependencies on Windows#286johnnyreilly merged 1 commit intoTypeStrong:masterfrom
Conversation
|
Hi @pzavolinsky, could you refork and resubmit this PR please? I've just got CI cleaned so the tests pass but i can't requeue a build for your PR manually... |
|
Hi @johnnyreilly , I've just rebased my fork against |
|
Hi @pzavolinsky, Thanks for submitting that - happily the tests are passing with your change in place. 😄 The change looks good. Could you tell me how you discovered this issue? I'm guessing there was some kind of a problem that you encountered. I ask as I'm wondering if it may be worth adding a test to ensure there are no future regressions. |
Sure, here it goes: We have lots of files called There must be something special going on for Hope this helps! |
|
Thanks for the explanation @pzavolinsky. Very helpful. I'm not too sure if there's a good way to cover this with a test but I want to have a think first. Assuming I don't come with anything I'll plan to merge this. Thanks again! |
|
Great, let me know if you need anything else! |
|
Awesome - thanks! |
instance.dependencyGraphgets created using a rawcontainingFilevalue:But is later accessed with a normalized path:
This breaks every scenario where
path.normalizeis not identity.For example, in Windows, you get: