lib/yard/templates/helpers/markup_helper.rb in yard-0.7.2 vs lib/yard/templates/helpers/markup_helper.rb in yard-0.7.3
- old
+ new
@@ -94,10 +94,10 @@
return true
end
# Show error message telling user to install first potential provider
name, lib = *[providers.first[:const], providers.first[:lib] || type]
- log.error "Missing '#{lib}' gem for #{options[:markup].to_s.capitalize} formatting. Install it with `gem install #{lib}`"
+ log.error "Missing '#{lib}' gem for #{type.to_s.capitalize} formatting. Install it with `gem install #{lib}`"
false
end
# Checks for a shebang or looks at the file extension to determine
# the markup type for the file contents. File extensions are registered