Skip to content

Commit f9199e0

Browse files
nard-techdrwl
authored andcommitted
Fix AnnotateRoutes.extract_magic_comments_from_array (#712)
1 parent 9a7bd94 commit f9199e0

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
@@ -221,7 +221,7 @@ def extract_magic_comments_from_array(content_array)
221221
magic_comments = []
222222
new_content = []
223223

224-
content_array.map do |row|
224+
content_array.each do |row|
225225
if row =~ MAGIC_COMMENT_MATCHER
226226
magic_comments << row.strip
227227
else

0 commit comments

Comments
 (0)