summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-10 22:53:19 +0800
committerruki <[email protected]>2020-04-10 11:19:58 +0800
commit238ac7bae9aff67277ea30737b85f7db6132f166 (patch)
treebbfd66eee1b97c53cd8e44924b491349a7c5f4d6
parent3bd2ebba2b83e23a06a66e298ea6eaeead5a5bc8 (diff)
fix scopeinfo
-rw-r--r--xmake/core/base/scopeinfo.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/scopeinfo.lua b/xmake/core/base/scopeinfo.lua
index 2480f64ee..85fb0d0fd 100644
--- a/xmake/core/base/scopeinfo.lua
+++ b/xmake/core/base/scopeinfo.lua
@@ -370,12 +370,12 @@ function _instance:_api_del_pathes(name, ...)
values = table.join(...)
-- translate pathes
- local pathes = interp:_api_translate_pathes(values, "del_" .. name)
+ local pathes = interp:_api_translate_pathes(values, "del_" .. name, 5)
-- mark these pathes as deleted
local pathes_deleted = {}
for _, pathname in ipairs(pathes) do
- table.insert(pathes_deleted, "__del_" .. pathname, 5)
+ table.insert(pathes_deleted, "__del_" .. pathname)
end
-- save values