fix(cli): ignore missing sections when removing configuration by sudoforge · Pull Request #1455 · git-bug/git-bug

@sudoforge

…NG.md

Change-Id: Ie21eb3761c8e632d1ff66c5b3fc2474f97e3364e

@sudoforge

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

@sudoforge sudoforge deleted the I66e710239915c8601dd70a78ae65eb625e093ef6 branch

May 19, 2025 04:54