Commit 4e629aea authored by Keith Smiley's avatar Keith Smiley

Fixed no input

parent ec45f295
...@@ -131,7 +131,7 @@ module Pod ...@@ -131,7 +131,7 @@ module Pod
def initialize(argv) def initialize(argv)
@show_all = argv.flag?('show-all') @show_all = argv.flag?('show-all')
@spec = argv.shift_argument @spec = argv.shift_argument
@spec = @spec.gsub('.podspec', '') @spec = @spec.gsub('.podspec', '') unless @spec.nil?
super super
end end
...@@ -163,7 +163,7 @@ module Pod ...@@ -163,7 +163,7 @@ module Pod
def initialize(argv) def initialize(argv)
@show_all = argv.flag?('show-all') @show_all = argv.flag?('show-all')
@spec = argv.shift_argument @spec = argv.shift_argument
@spec = @spec.gsub('.podspec', '') @spec = @spec.gsub('.podspec', '') unless @spec.nil?
super super
end end
...@@ -203,7 +203,7 @@ module Pod ...@@ -203,7 +203,7 @@ module Pod
def initialize(argv) def initialize(argv)
@show_all = argv.flag?('show-all') @show_all = argv.flag?('show-all')
@spec = argv.shift_argument @spec = argv.shift_argument
@spec = @spec.gsub('.podspec', '') @spec = @spec.gsub('.podspec', '') unless @spec.nil?
super super
end end
......
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