Open jonatanklosko opened 2 days ago
Yes, that seems very wrong. A quick look suggests that it should not be very hard to fix. There seems to be very little testing of keep_old_files
in general so not surprising that it is broken.
I added it to my todo list, a PR would help speed things along.
@garazdawi PR opened :)
Describe the bug
When calling
zip:extract/2
withkeep_old_files
andcwd
options, thecwd
option is effectively ignored for the old file check. As a result, the old files are always replaced.To Reproduce
Expected behavior
keep_old_files
to respectcwd
.Affected versions
Tested with 27.0.