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(deps-remove): avoid removing deps that were set before tag/snap #6805

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

davidfirst
Copy link
Member

@davidfirst davidfirst commented Dec 16, 2022

currently, bit deps remove adds a new entry to .bitmap in case it doesn't have any. as a result, this entry overrides any other deps setting created previously.
This PR fixes it by retrieving the current deps data from the scope and apply the removal on this data.

@davidfirst davidfirst merged commit 243f4ae into master Dec 16, 2022
@davidfirst davidfirst deleted the deps-remove-leave-current branch December 16, 2022 22:09
zkochan pushed a commit that referenced this pull request Jan 5, 2023
…6805)

currently, `bit deps remove` adds a new entry to .bitmap in case it doesn't have any. as a result, this entry overrides any other deps setting created previously. 
This PR fixes it by retrieving the current deps data from the scope and apply the removal on this data.
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