Commit a37c3c4c authored by Fabio Pelosin's avatar Fabio Pelosin

Move Command::ErrorReport to UI::ErrorReport.

parent d0344d84
......@@ -7,7 +7,6 @@ module Pod
end
class Command < CLAide::Command
autoload :ErrorReport, 'cocoapods/command/error_report'
autoload :AdvancedLinter, 'cocoapods/command/advanced_linter'
self.abstract_command = true
......@@ -43,7 +42,7 @@ module Pod
puts "[!] Cancelled".red
Config.instance.verbose? ? raise : exit(1)
else
puts ErrorReport.report(error)
puts UI::ErrorReport.report(error)
exit 1
end
end
......
require 'cocoapods/user_interface/error_report'
module Pod
# Provides support for UI output. It provides support for nexted sections of
......
......@@ -4,7 +4,7 @@ require 'rbconfig'
require 'cgi'
module Pod
class Command
module UserInterface
module ErrorReport
class << self
def report(error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment