Land #6804, fix #6803, info command fails to show module references

bug/bundler_fix 4.11.22
Brent Cook 2016-04-22 08:32:25 -04:00
commit 50a77af5b9
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ class ReadableText
def self.dump_references(mod, indent = '') def self.dump_references(mod, indent = '')
output = '' output = ''
if (mod.respond_to? :references && mod.references && mod.references.length > 0) if (mod.respond_to?(:references) && mod.references && mod.references.length > 0)
output << "References:\n" output << "References:\n"
mod.references.each { |ref| mod.references.each { |ref|
output << indent + ref.to_s + "\n" output << indent + ref.to_s + "\n"