diff --git a/Sources/tart/VMConfig.swift b/Sources/tart/VMConfig.swift index 8af82c7..26cb6eb 100644 --- a/Sources/tart/VMConfig.swift +++ b/Sources/tart/VMConfig.swift @@ -28,7 +28,9 @@ struct VMConfig: Encodable, Decodable { } func save(toURL: URL) throws { - try JSONEncoder().encode(self).write(to: toURL) + let encoder = JSONEncoder() + encoder.outputFormatting = .prettyPrinted + try encoder.encode(self).write(to: toURL) } init(from decoder: Decoder) throws {