Skip to content

Commit a68a4a1

Browse files
committed
debug in ci
1 parent 5f2cd5c commit a68a4a1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/view_component/template.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,13 @@ def source
6161

6262
def compiled_source
6363
result = super
64+
puts "before" if @strip_annotation_line
65+
puts result if @strip_annotation_line
6466
# Strip the annotation line to maintain correct line numbers when coverage
6567
# is running (avoids segfault from negative lineno)
6668
result = result.sub(/\A[^\n]*\n/, "") if @strip_annotation_line
69+
puts "after" if @strip_annotation_line
70+
puts result if @strip_annotation_line
6771
result
6872
end
6973
end

0 commit comments

Comments
 (0)