Skip to content

[rush] Fix an issue where a "Current PNPM store path does not match the last one used." error will erroneously get thrown on Windows with an unchanged path, but with a forward slash instead of a backslash. - #3660

Merged
Ian Clanton-Thuon (iclanton) merged 2 commits into
microsoft:mainfrom
iclanton:fix-rush-bug
Sep 28, 2022

Conversation

@iclanton

Copy link
Copy Markdown
Member

Summary

Fixes an issue where a "Current PNPM store path does not match the last one used." error will erroneously get thrown on Windows with an unchanged path, but with a forward slash instead of a backslash.

Details

This change normalizes the path to always be the platform default.

How it was tested

Tested in a repo experiencing this error.

… one used." error will erroneously get thrown on Windows with an unchanged path, but with a forward slash instead of a backslash.
@iclanton
Ian Clanton-Thuon (iclanton) merged commit 8484c70 into microsoft:main Sep 28, 2022
@iclanton
Ian Clanton-Thuon (iclanton) deleted the fix-rush-bug branch September 28, 2022 22:54
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