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
when renaming (using fs.move + overwrite:true) file from: C:\DIR\file.txt to C:\DIR\FILE.txt (from lowercase to uppercase and vice versa) original file is deleted and error is thrown that file doesn't exist.
On linux everything works as expected.
The text was updated successfully, but these errors were encountered:
ooh yeah I know what's happening here! @RyanZim@kdcro101 Windows is a case-insensitive system meaning in Windows world file.txt and FILE.txt are the same and since {overwrite: true} the dest file gets removed while src and dest are actually the same, therefore we end up removing src file!
We applied the fix for handling case-insensitive paths to copy*() but move*() is still buggy and needs to be fixed. I'll be working on it. I do my best to make the fix ready for v8 release.
when renaming (using
fs.move + overwrite:true
) file from:C:\DIR\file.txt
toC:\DIR\FILE.txt
(from lowercase to uppercase and vice versa) original file is deleted and error is thrown that file doesn't exist.On linux everything works as expected.
The text was updated successfully, but these errors were encountered: