Adds missing #to_s calls
This commit is contained in:
@@ -33,7 +33,7 @@ module WPScan
|
|||||||
|
|
||||||
# @return [ String ]
|
# @return [ String ]
|
||||||
def self.wp_fingerprints_path
|
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
|
end
|
||||||
|
|
||||||
# @return [ Hash ]
|
# @return [ Hash ]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ module WPScan
|
|||||||
class Plugin < WpItem
|
class Plugin < WpItem
|
||||||
# @return [ String ]
|
# @return [ String ]
|
||||||
def self.db_file
|
def self.db_file
|
||||||
@db_file ||= DB_DIR.join('plugins.json')
|
@db_file ||= DB_DIR.join('plugins.json').to_s
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ module WPScan
|
|||||||
class Theme < WpItem
|
class Theme < WpItem
|
||||||
# @return [ String ]
|
# @return [ String ]
|
||||||
def self.db_file
|
def self.db_file
|
||||||
@db_file ||= DB_DIR.join('themes.json')
|
@db_file ||= DB_DIR.join('themes.json').to_s
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ module WPScan
|
|||||||
class Version < WpItem
|
class Version < WpItem
|
||||||
# @return [ String ]
|
# @return [ String ]
|
||||||
def self.db_file
|
def self.db_file
|
||||||
@db_file ||= DB_DIR.join('wordpresses.json')
|
@db_file ||= DB_DIR.join('wordpresses.json').to_s
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user