Skip to content

Commit 3bddbdc

Browse files
committed
lints
1 parent 018ee8d commit 3bddbdc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/view_component/template.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ class File < Template
2323
def initialize(component:, details:, path:)
2424
# Rails 8.1 added a newline to the compiled ERB output in
2525
# https://github.com/rails/rails/pull/53731
26-
lineno = Rails::VERSION::STRING > "8.0" ? -1 : 0
2726
lineno =
2827
if Rails::VERSION::MAJOR == 8 && Rails::VERSION::MINOR > 0 && details.handler == :erb
2928
- 1

0 commit comments

Comments
 (0)