forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolatey#2884) Store config backups as a stack
In some cases, code paths may attempt to take or restore multiple config backups. Previously, this would always result in an error. With this change, as long as the code paths correctly use start_backup and reset_config, nested levels of backups will work correctly instead of unpredictably interfering with each other.
- Loading branch information
Showing
1 changed file
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters