Skip to content

Commit

Permalink
fix os.rm
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jul 17, 2024
1 parent 9310167 commit 6a405fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/core/base/os.lua
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ function os.rm(filepath, opt)
return false, errors
end
if opt.emptydirs then
ok, errors = os._rm_empty_parentdirs(filepath)
ok, errors = os._rm_empty_parentdirs(_filepath)
if not ok then
return false, errors
end
Expand Down

0 comments on commit 6a405fa

Please sign in to comment.