Remove spacer in output

This commit is contained in:
Ryan Dewhurst
2018-05-23 14:44:53 +02:00
parent 5820c53d0f
commit aca1b487ba
3 changed files with 10 additions and 35 deletions

View File

@@ -192,11 +192,6 @@ def banner
puts
end
# Space out sections
def spacer
puts " - - - - -"
end
def xml(file)
Nokogiri::XML(File.open(file)) do |config|
config.noblanks

View File

@@ -12,7 +12,7 @@ class WpTarget < WebSite
response = Browser.get(url)
# Able to view the output?
if valid_json?(response.body)
if valid_json?(response.body) && response.body != ''
# Read in JSON
data = JSON.parse(response.body)