From 64d34f63eedacd8e1bd4505c3e4a8ffe4e41f86a Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Mon, 2 Dec 2024 12:04:47 -0500 Subject: [PATCH] Fix a new rubocop complaint about line continuations --- lib/ronn/index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ronn/index.rb b/lib/ronn/index.rb index e874e92..eb26deb 100644 --- a/lib/ronn/index.rb +++ b/lib/ronn/index.rb @@ -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