summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-04-22 14:35:32 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-04-22 14:35:32 -0600
commitaf3986dfdce79037bef84bb7aa8d95ccd16c1856 (patch)
tree29daa3bea9381ee3a45dd42ea8d3d9eb79075929 /lib
parent1c09e000b82932f6f855ab57e032aa264f45e176 (diff)
make comment more clear [skip ci]
Diffstat (limited to 'lib')
-rw-r--r--lib/asciidoctor/pdf/converter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/pdf/converter.rb b/lib/asciidoctor/pdf/converter.rb
index 975a9715..a46e5a4a 100644
--- a/lib/asciidoctor/pdf/converter.rb
+++ b/lib/asciidoctor/pdf/converter.rb
@@ -2159,7 +2159,7 @@ module Asciidoctor
end
end
- # NOTE: Prawn aborts if table data is empty, so ensure there's at least one row
+ # NOTE: Prawn crashes if table data is empty, so ensure there's at least one row
if table_data.empty?
log(:warn) { message_with_context 'no rows found in table', source_location: node.source_location }
table_data << ::Array.new([node.columns.size, 1].max) { { content: '' } }