-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix UnArchiver#isOverwrite not working as expected
Regression in efd980d changed the way UnArchiver#isOverwrite flag work. It is indented to indicate that UnArchiver should always override the existing entries. efd980d changed it to indicate whether existing file should be overridden if the entry is newer, while in this case the file should be always overridden. This commit returns the old behavior: if the entry is newer, override the existing file; if the entry is older, override the existing file only if isOverwrite is true. Fixes: #228
- Loading branch information
1 parent
57d924b
commit 8656ee0
Showing
2 changed files
with
25 additions
and
32 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
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