Only show changelog if verbose

This commit is contained in:
ethicalhack3r
2016-04-20 13:09:02 +02:00
parent a09dbab6a8
commit cdf2b38780

View File

@@ -9,7 +9,7 @@ class WpVersion < WpItem
puts
puts info("WordPress version #{self.number} identified from #{self.found_from}")
puts " | Released: #{metadata[:release_date]}"
puts " | Changelog: #{metadata[:changelog_url]}"
puts " | Changelog: #{metadata[:changelog_url]}" if verbose
vulnerabilities = self.vulnerabilities