1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-13 22:04:09 +02:00

Broaden folder rename fix

This commit is contained in:
Brian Fiete 2022-07-28 09:05:23 -04:00
parent 1ce00ccf11
commit e071bd0014

View file

@ -96,8 +96,6 @@ namespace IDE
} }
if ((isDirectory) && (changeType == .Renamed)) if ((isDirectory) && (changeType == .Renamed))
{
if (filePath.Equals(newPath, .OrdinalIgnoreCase))
{ {
// On Windows, renaming a directory with only case changes will result in a remove before a rename // On Windows, renaming a directory with only case changes will result in a remove before a rename
var dirName = scope String(); var dirName = scope String();
@ -106,7 +104,6 @@ namespace IDE
FileChanged(dirName, newPath, .DirectoryCreated); FileChanged(dirName, newPath, .DirectoryCreated);
} }
}
var newPath; var newPath;
if (isDirectory) if (isDirectory)