Skip to content

Commit 264adf1

Browse files
author
Tod Beardsley
committed
Add 'tnftp' software to the title whitelist
1 parent efebaae commit 264adf1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/msftidy.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212

1313
CHECK_OLD_RUBIES = !!ENV['MSF_CHECK_OLD_RUBIES']
1414
SUPPRESS_INFO_MESSAGES = !!ENV['MSF_SUPPRESS_INFO_MESSAGES']
15-
WHITELIST = %w{
15+
TITLE_WHITELIST = %w{
1616
a an and as at avserve callmenum configdir connect debug docbase dtspcd
1717
execve file for from getinfo goaway gsad hetro historysearch htpasswd
1818
ibstat id in inetd iseemedia jhot libxslt lmgrd lnk load main map
1919
migrate mimencode multisort name net netcat nodeid ntpd nttrans of
2020
on onreadystatechange or ovutil path pbot pfilez pgpass pingstr pls
2121
popsubfolders prescan readvar relfile rev rexec rlogin rsh rsyslog sa
22-
sadmind say sblistpack spamd sreplace tagprinter the to twikidraw udev
23-
uplay user username via welcome with ypupdated zsudo
22+
sadmind say sblistpack spamd sreplace tagprinter the tnftp to twikidraw
23+
udev uplay user username via welcome with ypupdated zsudo
2424
}
2525

2626
if CHECK_OLD_RUBIES
@@ -432,7 +432,7 @@ def check_title_casing
432432
if @source =~ /["']Name["'][[:space:]]*=>[[:space:]]*['"](.+)['"],*$/
433433
words = $1.split
434434
words.each do |word|
435-
if WHITELIST.include?(word)
435+
if TITLE_WHITELIST.include?(word)
436436
next
437437
elsif word =~ /^[a-z]+$/
438438
warn("Suspect capitalization in module title: '#{word}'")

0 commit comments

Comments
 (0)