Skip to content

Commit 980658c

Browse files
author
Brent Cook
committed
Land rapid7#6976, Add missing rank check to msftidy
2 parents 563b820 + 4a8011e commit 980658c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/dev/msftidy.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ def check_ranking
422422
if not available_ranks.include?($1)
423423
error("Invalid ranking. You have '#{$1}'")
424424
end
425+
else
426+
info('No Rank specified. The default is NormalRanking. Please add an explicit Rank value.')
425427
end
426428
end
427429

0 commit comments

Comments
 (0)