Fixed new lines in the config properties generation

This commit is contained in:
Marcin Grzejszczak
2020-05-26 14:01:24 +02:00
parent e2019664e2
commit 355a18d5fa

View File

@@ -76,8 +76,8 @@ public class Main {
return;
}
Files.write(new File(outputFile).toPath(),
("|===\n\n"
+ "|Name | Default | Description\n" + names.stream()
("|===\n"
+ "|Name | Default | Description\n\n" + names.stream()
.map(it -> descriptions.get(it).toString()).collect(Collectors.joining("\n"))
+ "\n\n" + "|===").getBytes());
System.out.println("Successfully stored the output file");