Skip to content

Commit

Permalink
Fix a new rubocop complaint about line continuations
Browse files Browse the repository at this point in the history
  • Loading branch information
apjanke committed Dec 2, 2024
1 parent 76e21d1 commit 64d34f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ronn/index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def <<(path)
raise ArgumentError, 'local paths only' if path =~ /(https?|mailto):/
return self if any? { |ref| ref.path == File.expand_path(path) }
relative_path = relative_to_index(path)
@references << \
@references <<
if path =~ /\.ronn?$/
reference manual(path).reference_name, relative_path
else
Expand Down

0 comments on commit 64d34f6

Please sign in to comment.