SideEffects Stability Reliability check

This commit is contained in:
Jacob Robles 2019-02-21 12:38:26 -06:00
parent 5214b90fdf
commit c09c15649f
No known key found for this signature in database
GPG Key ID: 3EC9F18F2B12401C
1 changed files with 2 additions and 0 deletions

View File

@ -435,6 +435,8 @@ class Msftidy
if not available_ranks.include?($1)
error("Invalid ranking. You have '#{$1}'")
end
elsif @source =~ /['"](SideEffects|Stability|Reliability)['"]\s+=/
info('No Rank, however SideEffects, Stability, or Reliability are provided')
else
warn('No Rank specified. The default is NormalRanking. Please add an explicit Rank value.')
end