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 relative cache paths #5973

Merged
merged 1 commit into from
Jun 11, 2018
Merged

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Jun 11, 2018

Summary

Relative cache paths set in the yarnrc file are currently resolved relative to the cwd (even worse - the actual cwd, not the typical cwd from our codebase, which equals the project path). They should instead be resolved relative to the .yarnrc they originate from, so that they keep a consistent value everytime.

Test plan

Added a test.

Copy link
Member

@imsnif imsnif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

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