Adds missing #to_s calls

This commit is contained in:
erwanlr
2019-02-11 20:03:05 +00:00
parent 7a0f98b2cb
commit b0615215fe
4 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ module WPScan
# @return [ String ]
def self.wp_fingerprints_path
@wp_fingerprints_path ||= DB_DIR.join('wp_fingerprints.json')
@wp_fingerprints_path ||= DB_DIR.join('wp_fingerprints.json').to_s
end
# @return [ Hash ]

View File

@@ -4,7 +4,7 @@ module WPScan
class Plugin < WpItem
# @return [ String ]
def self.db_file
@db_file ||= DB_DIR.join('plugins.json')
@db_file ||= DB_DIR.join('plugins.json').to_s
end
end
end

View File

@@ -4,7 +4,7 @@ module WPScan
class Theme < WpItem
# @return [ String ]
def self.db_file
@db_file ||= DB_DIR.join('themes.json')
@db_file ||= DB_DIR.join('themes.json').to_s
end
end
end

View File

@@ -4,7 +4,7 @@ module WPScan
class Version < WpItem
# @return [ String ]
def self.db_file
@db_file ||= DB_DIR.join('wordpresses.json')
@db_file ||= DB_DIR.join('wordpresses.json').to_s
end
end
end