Skip to content

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Feb 20, 2024

Fixes: #379

Copy link
Member

@merceyz merceyz left a comment

Choose a reason for hiding this comment

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

Please add a test, one that runs HOME="/tmp/some/folder/here" yarn -v should be enough to reproduce the issue.

@aduh95
Copy link
Contributor Author

aduh95 commented Feb 20, 2024

The reason the tests didn't catch it is because we specifically disable it:

process.env.COREPACK_DEFAULT_TO_LATEST = `0`;

If we re-enable it, it will cause the nock to be outdated as soon as Yarn publish a new version (if we use yarn -v) which is not ideal.

@aduh95 aduh95 requested a review from merceyz February 20, 2024 15:11
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.

v0.25.0 crashes with ENOENT on fresh install
3 participants