Skip to content

Commit b47b4d3

Browse files
authored
Revert "ci: print statement debugging CI only failures is fun (#1660)" (#1661)
This reverts commit f37e539.
1 parent f37e539 commit b47b4d3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docgen/docgen.lua

-3
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,19 @@ docgen.get_module_top_comment = function(buf)
6969
local node = ts.get_first_node_recursive("comment", { buf = buf, ft = "lua" })
7070

7171
if not node then
72-
print("no comment node")
7372
return
7473
end
7574

7675
-- Verify if it's the first line
7776
local start_row = node:range()
7877
if start_row ~= 0 then
79-
print("doens't start of the first line")
8078
return
8179
end
8280

8381
local comment = vim.split(ts.get_node_text(node, buf), "\n")
8482

8583
-- Stops execution if it's not a multiline comment
8684
if comment[1] ~= [[--[[]] or comment[#comment] ~= "--]]" then
87-
print("not a block comment")
8885
return
8986
end
9087

0 commit comments

Comments
 (0)