Closed Yoris1 closed 3 months ago
Duplicate of #70?
Duplicate of #70?
Yeah, it appears that #70 already solved this issue way before me, for some reason the PR didn't show up under #33 when I was looking into the issue. I feel like my fix is simpler as it only adds 6 simple lines of code, without changing much, but it is regex and a bit of an inefficient patch so #70 might be the better choice in the end.
Superseded by #70 and #107. Nevertheless, thanks very much indeed for your contribution which did help me in formulating the final solution!
fix GitHub bug #33 and GNU #56727 by attempting to restore target $path with regex if it doesn't exist. Might slightly slow the process down, as it's now checking the directory twice every single stow_contents() call, but it's the least intrusive fix i could come up with.