Deleted files should have the same sanitation for updates

This commit is contained in:
Trevor Lund
2021-04-04 21:45:37 -05:00
parent cbc4ee5b98
commit 88a67ceb5f
2 changed files with 3 additions and 2 deletions

View File

@@ -161,7 +161,8 @@ end
local deleteFiles = { }
for name, data in pairs(localFiles) do
data.name = name
if not remoteFiles[name] then
local sanitizedName = name:gsub("{space}", " ")
if not remoteFiles[name] and not remoteFiles[sanitizedName] then
table.insert(deleteFiles, data)
end
end