Commit 358b4d85 authored by Marin Usalj's avatar Marin Usalj

added a deprecation warning

parent 7b3273ed
......@@ -19,8 +19,8 @@ module Pod
elsif params.key?(:podspec) then PodspecSource
elsif params.key?(:local) ||
params.key?(:path) then LocalSource
end
UI.warn "Using :local in a Podfile is depricated. Please use :path instead." if params.key?(:local)
if klass
klass.new(name, params, podfile_path)
......
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