From 2aeadec4d71870c45af68f6764ab870f2970deec Mon Sep 17 00:00:00 2001 From: Ben Lubas Date: Sun, 23 Feb 2025 10:49:35 -0500 Subject: [PATCH] ci: print statement debugging CI only failures is fun --- docgen/docgen.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docgen/docgen.lua b/docgen/docgen.lua index 3652a2ea4..5d19e10b6 100644 --- a/docgen/docgen.lua +++ b/docgen/docgen.lua @@ -69,12 +69,14 @@ docgen.get_module_top_comment = function(buf) local node = ts.get_first_node_recursive("comment", { buf = buf, ft = "lua" }) if not node then + print("no comment node") return end -- Verify if it's the first line local start_row = node:range() if start_row ~= 0 then + print("doens't start of the first line") return end @@ -82,6 +84,7 @@ docgen.get_module_top_comment = function(buf) -- Stops execution if it's not a multiline comment if comment[1] ~= [[--[[]] or comment[#comment] ~= "--]]" then + print("not a block comment") return end