We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1898714 commit 3637e4cCopy full SHA for 3637e4c
1 file changed
lua/cmake-tools/init.lua
@@ -864,7 +864,7 @@ function cmake.select_build_preset(callback)
864
end
865
866
function cmake.select_build_target(regenerate, callback)
867
- callback = type(callback) == "function" and callback or function() end
+ callback = type(callback) == "function" and callback or function(_) end
868
if not (config:has_build_directory()) then
869
-- configure it
870
return cmake.generate({ bang = false, fargs = {} }, function(result)
0 commit comments