diff options
| author | ruki <[email protected]> | 2020-10-24 20:16:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-24 20:16:31 +0800 |
| commit | f60432d41958034846b50488ab7d061f80bef78b (patch) | |
| tree | 84c03a6a7ae1a1b09e9516a74e9bcd9ad9721553 /xmake/plugins | |
| parent | d9889f1bce30a94cb22d9e1464cfce433052cfe2 (diff) | |
list/rm repo
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/repo/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/repo/main.lua b/xmake/plugins/repo/main.lua index d761f1fd8..2e870a867 100644 --- a/xmake/plugins/repo/main.lua +++ b/xmake/plugins/repo/main.lua @@ -164,7 +164,7 @@ function _list() -- list all repositories local count = 0 - for _, position in ipairs({"local", "global"}) do + for _, position in ipairs(option.get("global") and "global" or {"local", "global"}) do -- trace print("%s repositories:", position) |
