lib/compare_task.rb in machinery-tool-1.13.0 vs lib/compare_task.rb in machinery-tool-1.14.0
- old
+ new
@@ -25,10 +25,10 @@
Machinery::Ui.puts output
end
end
def render_html_comparison(description1, description2, scopes, options)
- LocalSystem.validate_existence_of_package("xdg-utils")
+ LocalSystem.validate_existence_of_command("xdg-open", "xdg-utils")
url = "http://#{options[:ip]}:#{options[:port]}/compare/" \
"#{CGI.escape(description1.name)}/#{CGI.escape(description2.name)}"
Machinery::Ui.use_pager = false