diff options
| author | ruki <[email protected]> | 2020-05-14 23:02:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-14 12:12:09 +0800 |
| commit | c2e533cef2040461bb77a64349d28db924d4150b (patch) | |
| tree | b1fb0622cd61514be099ec30c3f282c1b3f169e4 /xmake/core/base/scopeinfo.lua | |
| parent | f7ece67bf3f768f98b22818aa13afd65a00831d7 (diff) | |
check flags policy
Diffstat (limited to 'xmake/core/base/scopeinfo.lua')
| -rw-r--r-- | xmake/core/base/scopeinfo.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/core/base/scopeinfo.lua b/xmake/core/base/scopeinfo.lua index 85fb0d0fd..05337e4c8 100644 --- a/xmake/core/base/scopeinfo.lua +++ b/xmake/core/base/scopeinfo.lua @@ -173,8 +173,8 @@ function _instance:_api_set_keyvalues(name, key, ...) extra_config = nil end - -- expand values - values = table.join(unpack(values)) + -- expand values if only one + values = table.unwrap(values) -- save values to "name" scope[name] = scope[name] or {} @@ -213,8 +213,8 @@ function _instance:_api_add_keyvalues(name, key, ...) extra_config = nil end - -- expand values - values = table.join(unpack(values)) + -- expand values if only one + values = table.unwrap(values) -- save values to "name" scope[name] = scope[name] or {} |
