[Bug] yarn-path
in .yarnrc is not set using standardized path separators
#291
Labels
bug
Something isn't working
Describe the bug
When running
yarn policies set-version berry
in a repository on a Windows machine, this will set theyarn-path
using Windows path separators, like so:Then, when you attempt to run
yarn
on a *nix machine, you get an error:To Reproduce
Migrate a repository to yarn berry on a Windows machine. You can see the
.yarnrc
immediately, or run it on a *nix machine to see the resulting error.Screenshots
If applicable, add screenshots to help explain your problem.
Environment if relevant (please complete the following information):
Additional context
This seems like a simple enough bug that I was going to submit my own PR, but I can't seem to find where this is set. Is this bug in the release version of
yarn
?The text was updated successfully, but these errors were encountered: