diff options
author | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-05-02 01:18:56 +0300 |
---|---|---|
committer | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-05-02 01:18:56 +0300 |
commit | bbe3a27633002d9eb37c98603e34a00e9ea9d962 (patch) | |
tree | 0529de97b3602daa9f364d2c7e1d11e0622a5a37 /lua/cmake/actions.lua | |
parent | 54c147c88537a682e5f926ea391c14ae31c80f82 (diff) |
fix: clear cache
Diffstat (limited to 'lua/cmake/actions.lua')
-rw-r--r-- | lua/cmake/actions.lua | 5 |
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) |