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

[Bug]: Use POSIX for internal paths #5262

Open
1 task
rtritto opened this issue Feb 12, 2023 · 0 comments
Open
1 task

[Bug]: Use POSIX for internal paths #5262

rtritto opened this issue Feb 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rtritto
Copy link

rtritto commented Feb 12, 2023

Self-service

  • I'd be willing to implement a fix

Describe the bug

Paths, listed with yarn config --why, should not include the escape character.

Example:

Actual:

➤ YN0000: cacheFolder                   <internal>                   C:\\Users\\<USER>\\AppData\\Local\\Yarn\\Berry\\cache

Expected

➤ YN0000: cacheFolder                   <internal>                   C:/Users/<USER>/AppData/Local/Yarn/Berry/cache

To reproduce

  • yarn init -y
  • yarn set version canary
  • yarn config --why

Environment

System:
  OS: Windows 11
Binaries:
  Node: 16.17.0
  Yarn: 4.0.0-rc.39

Additional context

No response

@rtritto rtritto added the bug Something isn't working label Feb 12, 2023
@rtritto rtritto changed the title [Bug?]: remove escape characters from paths in config (Windows) [Bug]: Use POSIX for internal path Jan 6, 2025
@rtritto rtritto changed the title [Bug]: Use POSIX for internal path [Bug]: Use POSIX for internal paths Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant