From e36a40a9ac9e8bcf44192f5181fee7a398f25292 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 5 Oct 2025 23:57:01 -0400 Subject: [PATCH] fix(ci): typing --- lua/cp/setup.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lua/cp/setup.lua b/lua/cp/setup.lua index e05c81b..1744655 100644 --- a/lua/cp/setup.lua +++ b/lua/cp/setup.lua @@ -26,10 +26,11 @@ local state = require('cp.state') ---@return boolean local function is_metadata_ready(cd) return cd - and type(cd.problems) == 'table' - and #cd.problems > 0 - and type(cd.index_map) == 'table' - and next(cd.index_map) ~= nil + and type(cd.problems) == 'table' + and #cd.problems > 0 + and type(cd.index_map) == 'table' + and next(cd.index_map) ~= nil + or false end ---@param platform string