don't require whitespace

GSoC/Meterpreter_Web_Console
Brent Cook 2019-02-25 11:24:30 -06:00
parent c09c15649f
commit 8cc3070cc8
1 changed files with 1 additions and 1 deletions

View File

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