Skip to content
Snippets Groups Projects
Unverified Commit ddb22a2f authored by sudoforge's avatar sudoforge Committed by GitHub
Browse files

fix(cli): ignore missing sections when removing configuration (#1455)

This change fixes an error typically encountered in the `git-bug-wipe`
command, caused by overly zealous implementations of
//repository:config.go%ConfigWrite.RemoveAll(). This change refactors
these implementations to only attempt to remove sections that exist,
and ignore non-existent sections.

Closes: #1451
Change-Id: I66e710239915c8601dd70a78ae65eb625e093ef6
parent 08d928da
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment