Skip to content

Commit 4f6a2f9

Browse files
committed
Fix AnnotateRoutes.extract_magic_comments_from_array
1 parent ee88f0f commit 4f6a2f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/annotate/annotate_routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def extract_magic_comments_from_array(content_array)
211211
magic_comments = []
212212
new_content = []
213213

214-
content_array.map do |row|
214+
content_array.each do |row|
215215
if row =~ magic_comment_matcher
216216
magic_comments << row.strip
217217
else

0 commit comments

Comments
 (0)