From bbe3a27633002d9eb37c98603e34a00e9ea9d962 Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Thu, 2 May 2024 01:18:56 +0300 Subject: fix: clear cache --- lua/cmake/actions.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lua/cmake/actions.lua') 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) -- cgit v1.2.3