Skip to content

Commit 40957a6

Browse files
nard-techvfonic
authored andcommitted
Fix AnnotateRoutes.extract_magic_comments_from_array (ctran#712)
1 parent d39caf2 commit 40957a6

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)