Commit fb851236 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Migrator] Use Lockfile#write_to_disk to re-save the manifest

parent 0aa6d685
...@@ -63,7 +63,7 @@ module Pod ...@@ -63,7 +63,7 @@ module Pod
lockfile['SPEC CHECKSUMS'][spec.name] = Specification.from_file(child).checksum lockfile['SPEC CHECKSUMS'][spec.name] = Specification.from_file(child).checksum
end end
sandbox.manifest = Lockfile.new(lockfile) sandbox.manifest = Lockfile.new(lockfile)
File.open(sandbox.manifest_path, 'w') { |f| f.write sandbox.manifest.to_yaml } sandbox.manifest.write_to_disk(sandbox.manifest_path)
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