Commit 7a93cdf0 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Migrator] Fix for older Ruby versions

parent daad9d5d
......@@ -58,7 +58,7 @@ module Pod
spec = Specification.from_file(child)
child.delete
child = Pathname("#{child}.json")
child.write(spec.to_pretty_json)
File.open(child, 'w') { |f| f.write spec.to_pretty_json }
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