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
17728443
Commit
17728443
authored
Apr 15, 2012
by
Victor Ilyukevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo in deprecation warning on config.osx? method
parent
2c9862bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
config.rb
lib/cocoapods/config.rb
+1
-1
No files found.
lib/cocoapods/config.rb
View file @
17728443
...
@@ -62,7 +62,7 @@ module Pod
...
@@ -62,7 +62,7 @@ module Pod
def
osx?
def
osx?
require
'colored'
require
'colored'
caller
.
find
{
|
line
|
line
=~
/^(.+.podspec):\d*/
}
caller
.
find
{
|
line
|
line
=~
/^(.+.podspec):\d*/
}
puts
"[!] The use of `config.
ios
?` is deprecated and will be removed in version 0.7.
#{
" Called from:
#{
$1
}
"
if
$1
}
"
.
red
puts
"[!] The use of `config.
osx
?` is deprecated and will be removed in version 0.7.
#{
" Called from:
#{
$1
}
"
if
$1
}
"
.
red
podfile
.
target_definitions
[
:default
].
platform
==
:osx
if
podfile
podfile
.
target_definitions
[
:default
].
platform
==
:osx
if
podfile
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