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

fix(reset), reintroduce a deleted component into .bitmap after reset #9300

Merged
merged 4 commits into from
Nov 13, 2024

Conversation

davidfirst
Copy link
Member

@davidfirst davidfirst commented Nov 13, 2024

Currently, when a component is deleted (bit delete), snapped and then reset (bit reset --all), the reset ignores the deleted component. In some cases, during the reset it throws ComponentNotFound error.
This PR includes the deleted components to be part of the reset, and also makes sure to handle them differently. Their files are kept deleted and it re-creates a .bitmap entry with the same props it had before the snap.

@davidfirst davidfirst merged commit 3328fff into master Nov 13, 2024
11 checks passed
@davidfirst davidfirst deleted the reset-after-delete branch November 13, 2024 16:13
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