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
0b81acd6
Commit
0b81acd6
authored
Sep 28, 2015
by
Sylvain Guillopé
Committed by
Sylvain Guillopé
Sep 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Repo Command] Update Informative message to be more descriptive
Specify what the "repos" directory corresponds to.
parent
26c3cce6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
add.rb
lib/cocoapods/command/repo/add.rb
+2
-1
No files found.
lib/cocoapods/command/repo/add.rb
View file @
0b81acd6
...
@@ -58,7 +58,8 @@ module Pod
...
@@ -58,7 +58,8 @@ module Pod
def
create_repos_dir
def
create_repos_dir
config
.
repos_dir
.
mkpath
config
.
repos_dir
.
mkpath
rescue
SystemCallError
=>
e
rescue
SystemCallError
=>
e
raise
Informative
,
"Could not create repos directory '
#{
config
.
repos_dir
}
'.
\n
#{
e
.
class
.
name
}
:
#{
e
.
message
}
"
raise
Informative
,
"Could not create '
#{
config
.
repos_dir
}
', the CocoaPods repo cache directory.
\n
"
\
"
#{
e
.
class
.
name
}
:
#{
e
.
message
}
"
end
end
# Clones the git spec-repo according to parameters passed to the
# Clones the git spec-repo according to parameters passed to the
...
...
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