You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
How about a file_exists check after the rename has been done for a more confident check? Or both, if I want to be really verbose with exceptions thrown.
I've added a PR for this but it would be good to know what the warning was as I haven't been able to reproduce by removing permissions. As I don't actually clean up the tmp directory in this branch of code so I'm not sure where your file would have gone.
There already seems to be a check for this in checking the return type for
rename
(Meanbee\Magedbm\Command\GetCommand::backupMove) but I've seen a warning emitted andrename
returning true when using meanbee/docker-magento-tools.The fix would be to perform
is_writable
check on$newFilename
directory first.The text was updated successfully, but these errors were encountered: