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
8aeca509
Commit
8aeca509
authored
Jul 30, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ErrorReport] Don't output git error messages.
parent
e74c3b01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
error_report.rb
lib/cocoapods/command/error_report.rb
+6
-6
No files found.
lib/cocoapods/command/error_report.rb
View file @
8aeca509
...
...
@@ -10,7 +10,7 @@ module Pod
def
report
(
error
)
return
<<-
EOS
#{
'――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――'
.
reversed
}
#{
'――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――'
.
reversed
}
### Report
...
...
@@ -59,14 +59,14 @@ EOS
def
markdown_podfile
return
''
unless
Config
.
instance
.
project_podfile
&&
Config
.
instance
.
project_podfile
.
exist?
<<-
EOS
<<-
EOS
### Podfile
```ruby
#{
Config
.
instance
.
project_podfile
.
read
.
strip
}
#{
Config
.
instance
.
project_podfile
.
read
.
strip
}
```
EOS
EOS
end
def
error_from_podfile
(
error
)
...
...
@@ -89,8 +89,8 @@ EOS
Pod
::
Source
.
all
.
map
do
|
source
|
repo
=
source
.
repo
Dir
.
chdir
(
repo
)
do
url
=
`git config --get remote.origin.url`
.
strip
sha
=
`git rev-parse HEAD`
.
strip
url
=
`git config --get remote.origin.url
2>&1
`
.
strip
sha
=
`git rev-parse HEAD
2>&1
`
.
strip
"
#{
repo
.
basename
}
-
#{
url
}
@
#{
sha
}
"
end
end
...
...
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