aboutsummaryrefslogtreecommitdiff
path: root/lua/cmake/actions.lua
diff options
context:
space:
mode:
authorDaniil Rozanov <daniilrozzanov@gmail.com>2024-05-02 01:18:56 +0300
committerDaniil Rozanov <daniilrozzanov@gmail.com>2024-05-02 01:18:56 +0300
commitbbe3a27633002d9eb37c98603e34a00e9ea9d962 (patch)
tree0529de97b3602daa9f364d2c7e1d11e0622a5a37 /lua/cmake/actions.lua
parent54c147c88537a682e5f926ea391c14ae31c80f82 (diff)
fix: clear cache
Diffstat (limited to 'lua/cmake/actions.lua')
-rw-r--r--lua/cmake/actions.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/cmake/actions.lua b/lua/cmake/actions.lua
index 972e07e..9f16bf5 100644
--- a/lua/cmake/actions.lua
+++ b/lua/cmake/actions.lua
@@ -83,10 +83,9 @@ local _generate = function(option, opts)
end)
end
if opts.fresh then
- pr.clear_cache(main_path)
- else
- main_path()
+ pr.clear_cache()
end
+ main_path()
end
local _for_current_generate_option = function(func)