Fix #6 : can't convert WpPlugin into String (to_s is not called when using +, it's to_str. However with "#{plugin}" the .to_s is called)
This commit is contained in:
@@ -193,7 +193,7 @@ begin
|
|||||||
|
|
||||||
plugins.each do |plugin|
|
plugins.each do |plugin|
|
||||||
puts
|
puts
|
||||||
puts " | Name: " + plugin #this will also output the version number if detected
|
puts " | Name: #{plugin}" #this will also output the version number if detected
|
||||||
puts " | Location: " + plugin.location_url
|
puts " | Location: " + plugin.location_url
|
||||||
|
|
||||||
puts " | Directory listing enabled? #{plugin.directory_listing? ? "Yes." : "No."}"
|
puts " | Directory listing enabled? #{plugin.directory_listing? ? "Yes." : "No."}"
|
||||||
|
|||||||
Reference in New Issue
Block a user