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
3fb18d3a
Commit
3fb18d3a
authored
Jun 23, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ErrorReport] Make more robust against missing executables
Closes #3719
parent
43502d3f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
CHANGELOG.md
CHANGELOG.md
+4
-0
error_report.rb
lib/cocoapods/user_interface/error_report.rb
+6
-0
No files found.
CHANGELOG.md
View file @
3fb18d3a
...
@@ -90,6 +90,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -90,6 +90,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
Mac App Store.
Mac App Store.
[
Samuel Giddins
](
https://github.com/segiddins
)
[
Samuel Giddins
](
https://github.com/segiddins
)
*
The error report template is now more robust against missing executables.
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#3719
](
https://github.com/CocoaPods/CocoaPods/issues/3719
)
## 0.37.2
## 0.37.2
...
...
lib/cocoapods/user_interface/error_report.rb
View file @
3fb18d3a
...
@@ -73,6 +73,12 @@ EOS
...
@@ -73,6 +73,12 @@ EOS
private
private
def
`
(
command
)
super
rescue
Errno
::
ENOENT
=>
e
"Unable to find an executable (
#{
e
}
)"
end
def
pathless_exception_message
(
message
)
def
pathless_exception_message
(
message
)
message
.
gsub
(
/- \(.*\):/
,
'-'
)
message
.
gsub
(
/- \(.*\):/
,
'-'
)
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