Commit 74acb401 authored by Fabio Pelosin's avatar Fabio Pelosin

[Linter] Fix lint with local option.

parent f7587b16
...@@ -122,15 +122,15 @@ module Pod ...@@ -122,15 +122,15 @@ module Pod
def podfile_from_spec def podfile_from_spec
name = spec.name name = spec.name
podspec = file.realpath.to_s podspec = file.realpath
platform = @platform platform = @platform
local = local? local = local?
podfile = Pod::Podfile.new do podfile = Pod::Podfile.new do
platform(platform.to_sym, platform.deployment_target) platform(platform.to_sym, platform.deployment_target)
if (local) if (local)
pod name, :local => '/Users/fabio/Desktop/RegexHighlightView' pod name, :local => podspec.dirname.to_s
else else
pod name, :podspec => podspec pod name, :podspec => podspec.to_s
end end
end end
podfile podfile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment