summaryrefslogtreecommitdiff
path: root/xmake/core/base/scopeinfo.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-03-29 00:44:02 +0800
committerruki <[email protected]>2019-03-28 22:24:16 +0800
commitd336c74a6c3a911ae7a2d297ef49bf7028a28786 (patch)
treee35283e431d6839ed08bfcc737e00991a15d7445 /xmake/core/base/scopeinfo.lua
parenta704db149ff91df99b2bffe2bd20f89c32d50208 (diff)
disable parallelize to install package
Diffstat (limited to 'xmake/core/base/scopeinfo.lua')
-rw-r--r--xmake/core/base/scopeinfo.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/xmake/core/base/scopeinfo.lua b/xmake/core/base/scopeinfo.lua
index 1fe04a6eb..de1912244 100644
--- a/xmake/core/base/scopeinfo.lua
+++ b/xmake/core/base/scopeinfo.lua
@@ -75,11 +75,10 @@ function _instance:_api_handle(values)
if self._ENABLE_FILTER then
values = interp:_filter(values)
end
-
- -- unwrap it if be only one
- values = table.unwrap(values)
end
- return values
+
+ -- unwrap it if be only one
+ return table.unwrap(values)
end
-- save api source info, .e.g call api() in sourcefile:linenumber