-
Notifications
You must be signed in to change notification settings - Fork 170
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
fix: remove unsafe remove of install folder #372
fix: remove unsafe remove of install folder #372
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
5f7b1c1
to
0f66d1b
Compare
0f66d1b
to
a8f8736
Compare
export function getInstallFolder() { | ||
return join( | ||
getCorepackHomeFolder(), | ||
`v${INSTALL_FOLDER_VERSION}`, | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to invalidate all cache from existing installation, without removing it from disk, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, we should add some clean-up in a follow-up PR.
#291 introduced an unsafe remove which sometimes break parallel installs.