Skip to content

Makes the CLI 2 forwarding stricter#7931

Merged
arcanis merged 2 commits intomasterfrom
mael/policies-relative-path
Feb 24, 2020
Merged

Makes the CLI 2 forwarding stricter#7931
arcanis merged 2 commits intomasterfrom
mael/policies-relative-path

Conversation

@arcanis
Copy link
Copy Markdown
Member

@arcanis arcanis commented Feb 24, 2020

Summary

The .yarnrc.yml settings were ignored when the syntax was erroneous, causing it to accidentally run a Yarn 1.x install.

This diff fixes that so that invalid RC files will always throw exceptions. It also fixes the yarn set version command to print relative paths rather than absolute.

Test plan

Tested locally.

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