aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/main/kotlin/Generation/FileGenerator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Generation/FileGenerator.kt b/core/src/main/kotlin/Generation/FileGenerator.kt
index 120efc6b..8a282ef1 100644
--- a/core/src/main/kotlin/Generation/FileGenerator.kt
+++ b/core/src/main/kotlin/Generation/FileGenerator.kt
@@ -32,7 +32,7 @@ class FileGenerator @Inject constructor(@Named("outputDir") override val root: F
PrintWriter(ww).use {
t.printStackTrace(it)
}
- ww.toString().replace("\n", "\n ")
+ ww.toString().split("[\r\n]+").asSequence().drop(1).take(3).joinToString("\n") {" $it"}
}
}