Skip to content

Commit 30d15f4

Browse files
author
Kevin Paulisse
committed
Skip the frozen string literal comment when auto-building docs
1 parent 2a17831 commit 30d15f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rake/doc.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def file_content(filename)
2424
comments = []
2525
IO.readlines(filename).each do |line|
2626
next if line =~ /^#\s*@/
27+
next if line.strip == '# frozen_string_literal: true'
2728
if line =~ /^#(.+)/
2829
comments << Regexp.last_match(1).strip
2930
elsif line =~ /^OctocatalogDiff::/

0 commit comments

Comments
 (0)