summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-18 00:56:51 +0800
committerruki <[email protected]>2024-07-18 00:56:51 +0800
commit6a405fa54114a513213c4000de3ca88dd1a4f337 (patch)
tree30a2758fd91a7a02452f1ce5a38a2b79c0b9778e /xmake/core/base/os.lua
parent9310167ec7254b065e687cba9740902939c005fd (diff)
fix os.rm
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index b0545afc8..9160aa534 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -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