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

Fixes the virtual link type #281

Merged
merged 1 commit into from
Jul 3, 2019
Merged

Fixes the virtual link type #281

merged 1 commit into from
Jul 3, 2019

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Jul 3, 2019

Virtual links were created as dir on Windows even where they were pointing towards files, which was breaking installs. We didn't notice it before because:

  • Our repository happens to contain the right type of symlinks (probably created before the regression), and the case didn't happen organically.

  • For some reason Azure didn't catch the error, but running the tests locally did. Since I always run the tests on Azure only when working on Windows, I didn't notice it before.

A followup would be to refactor NodeFS.symlinkPromise to stop using this trailing-slash heuristic, and instead use the type parameter (I think we would just have to move this trailing-slash thing in the few places that actually need it, such as the RawLinkFetcher).

@arcanis arcanis merged commit c080a40 into master Jul 3, 2019
@arcanis arcanis mentioned this pull request Jul 3, 2019
@arcanis arcanis deleted the fix-virtual-type branch July 8, 2019 16:25
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.

1 participant