Skip to content

Commit e65938a

Browse files
fniephausolyagpl
authored andcommitted
Applied suggestion
1 parent fbb7ba9 commit e65938a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/jt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2854,7 +2854,7 @@ def check_documentation_urls
28542854
hardcoded_urls.each_line do |line|
28552855
abort "Could not parse #{line.inspect}" unless /(.+?):(\d+):.+?(https:.+?)(#[\w-]+)?[ "'\n]/ =~ line
28562856
file, line, url = $1, $2, $3
2857-
if !%w[tool/jt.rb].include?(file) and !known_hardcoded_urls.include?(url)
2857+
if !%w[tool/jt.rb].include?(file) and !known_hardcoded_urls.include?(url)
28582858
puts "Found unknown hardcoded url #{url} in #{file}:#{line}, add it in tool/jt.rb"
28592859
status = false
28602860
end

0 commit comments

Comments
 (0)