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