Skip to content

Commit

Permalink
obsolete gsub removed
Browse files Browse the repository at this point in the history
  • Loading branch information
n1tr0xs committed Aug 16, 2024
1 parent bf396c1 commit a6b204f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Classes/BuildListControl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function BuildListClass:DeleteBuild(build)
if build.folderName then
if NewFileSearch(build.fullFileName.."/*") or NewFileSearch(build.fullFileName.."/*", true) then
main:OpenConfirmPopup("Confirm Folder Delete", "The folder is not empty.\nAre you sure you want to delete folder:\n"..build.folderName.."\nThis cannot be undone.", "Delete", function()
deleteDirectory(build.fullFileName:gsub("\\", "/"))
deleteDirectory(build.fullFileName)
self.listMode:BuildList()
self.selIndex = nil
self.selValue = nil
Expand Down

0 comments on commit a6b204f

Please sign in to comment.