Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
a37c3c4c
Commit
a37c3c4c
authored
Dec 07, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Command::ErrorReport to UI::ErrorReport.
parent
d0344d84
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
command.rb
lib/cocoapods/command.rb
+1
-2
user_interface.rb
lib/cocoapods/user_interface.rb
+2
-0
error_report.rb
lib/cocoapods/user_interface/error_report.rb
+1
-1
No files found.
lib/cocoapods/command.rb
View file @
a37c3c4c
...
...
@@ -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
...
...
lib/cocoapods/user_interface.rb
View file @
a37c3c4c
require
'cocoapods/user_interface/error_report'
module
Pod
# Provides support for UI output. It provides support for nexted sections of
...
...
lib/cocoapods/
command
/error_report.rb
→
lib/cocoapods/
user_interface
/error_report.rb
View file @
a37c3c4c
...
...
@@ -4,7 +4,7 @@ require 'rbconfig'
require
'cgi'
module
Pod
class
Command
module
UserInterface
module
ErrorReport
class
<<
self
def
report
(
error
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment