diff options
| author | ruki <[email protected]> | 2019-02-18 12:43:47 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-02-18 12:43:47 +0800 |
| commit | 43a40485dd6c06a490df4d8b1c4bc23e0d39260c (patch) | |
| tree | 54fd6c4080b92dcdd199577ee8fa8f27e1ac9ebc | |
| parent | 62594fe46cde3d9dd81c32d8a4b111272062e986 (diff) | |
fix scope info bug
| -rw-r--r-- | xmake/core/base/scopeinfo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/scopeinfo.lua b/xmake/core/base/scopeinfo.lua index 72f1ad79a..646388280 100644 --- a/xmake/core/base/scopeinfo.lua +++ b/xmake/core/base/scopeinfo.lua @@ -68,7 +68,7 @@ function _instance:_api_handle(values) -- remove repeat first for each slice with deleted item (__del_xxx) if self._REMOVE_REPEAT and not table.is_dictionary(values) then - values = table.unique(values, function (v) return v:startswith("__del_") end) + values = table.unique(values, function (v) return type(v) == "string" and v:startswith("__del_") end) end -- filter values |
