summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorGly <[email protected]>2022-12-26 23:24:17 +0100
committerGly <[email protected]>2022-12-26 23:24:17 +0100
commit638c9e8047e45c01dce32096907be5dc9bade9c9 (patch)
tree85cb2343da2eb658eb5aef699527d7536ebee5c4 /xmake/modules
parentd72666d1a994cd5aea630607c61cc6e3c9f55840 (diff)
delete cache in xmake instof xrepo
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/xrepo/main.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/xmake/modules/private/xrepo/main.lua b/xmake/modules/private/xrepo/main.lua
index 6e5810172..986860fab 100644
--- a/xmake/modules/private/xrepo/main.lua
+++ b/xmake/modules/private/xrepo/main.lua
@@ -194,16 +194,6 @@ function main(...)
-- do action
if menu.action then
menu.action()
- -- on repos changed
- -- we clear the cache for completion
- if action_name in {
- "add-repo",
- "rm-repo",
- "update-repo"
- } then
- -- init the xrepo
- import("private.xrepo.quick_search.cache.clear")()
- end
else
menu.show_help()
end