diff options
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) |