Commit d31b291e authored by Kyle Fuller's avatar Kyle Fuller

[spec command] Fix weirdly indented code block

parent f44ca638
......@@ -129,7 +129,7 @@ module Pod
output_path.open('w') { |f| f << io.read }
end
files << output_path
else if (pathname = Pathname.new(path)).directory?
elsif (pathname = Pathname.new(path)).directory?
files += Pathname.glob(pathname + '**/*.podspec{.json,}')
raise Informative, 'No specs found in the current directory.' if files.empty?
else
......@@ -137,7 +137,6 @@ module Pod
raise Informative, "Unable to find a spec named `#{path}'." unless pathname.exist? && path.include?('.podspec')
end
end
end
files
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