mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
jupyter adds new line at the end
This commit is contained in:
@@ -157,7 +157,7 @@ public class IpnbParser {
|
||||
final JsonWriter writer = new JsonWriter(stringWriter);
|
||||
writer.setIndent(" ");
|
||||
gson.toJson(fileRaw, fileRaw.getClass(), writer);
|
||||
return stringWriter.toString();
|
||||
return stringWriter.toString() +"\n";
|
||||
}
|
||||
|
||||
private static void writeToFile(@NotNull final String path, @NotNull final String json) {
|
||||
|
||||
Reference in New Issue
Block a user