Skip to content

Commit 90e22bd

Browse files
committed
fix crash
1 parent d8a22f2 commit 90e22bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cocoapods-developing-folder/local_pod_DSL.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ def local_pod(name, *requirements)
2020
return
2121
end
2222
options = requirements.last
23-
if options
23+
if options and options.kind_of? Hash
2424
options[:path] = path.to_s
2525
pod(name, *requirements)
2626
else
27-
pod(name, :path => path.to_s)
27+
pod(name, *requirements, :path => path.to_s)
2828
end
2929
end
3030

0 commit comments

Comments
 (0)