-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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(core): skip cache cleanup when enableGlobalCache is true #4402
Conversation
Please double check my version bumps. First time. |
ab51564
to
9f5cf6c
Compare
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.
Please double check my version bumps. First time.
I marked @yarnpkg/cli
to be released as well so that (if this PR was the only change we had) yarn set version ...
can pick it up, otherwise it looks good 👍
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.
LGTM, thanks!
* skip cache cleanup when enableGlobalCache is true * patch notes * chore: versions * move guard * only move enableGlobalCache check * missed this in cleanup * Update Project.ts Co-authored-by: merceyz <[email protected]> Co-authored-by: Maël Nison <[email protected]>
What's the problem this PR addresses?
Skip cache cleanup when
enableGlobalCache
is true and global cache is used.Discussion: https://discord.com/channels/226791405589233664/226793713722982400/964222577721610280
How did you fix it?
Read the config value for current project and short-circuit the cleanup task if set.
Checklist