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
c2119833
Commit
c2119833
authored
Jan 27, 2016
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Style] Remove var initialization before branches
parent
ac4fe54e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
analyzer.rb
lib/cocoapods/installer/analyzer.rb
+0
-2
No files found.
lib/cocoapods/installer/analyzer.rb
View file @
c2119833
...
...
@@ -345,12 +345,10 @@ module Pod
# @return [(Array<Specification>, Platform) => String]
#
def
scope_suffix_for_distinctor
(
distinctors
)
result
=
nil
all_spec_variants
=
distinctors
.
map
{
|
k
|
k
[
0
]
}
all_platform_variants
=
distinctors
.
map
{
|
k
|
k
[
1
]
}
all_platform_name_variants
=
all_platform_variants
.
map
(
&
:name
)
platform_name_proc
=
nil
if
all_platform_name_variants
.
uniq
.
count
==
all_platform_name_variants
.
count
# => Platform name
platform_name_proc
=
proc
{
|
platform
|
Platform
.
string_name
(
platform
.
symbolic_name
).
tr
(
' '
,
''
)
}
...
...
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