aboutsummaryrefslogtreecommitdiff
path: root/src/Generation/FileGenerator.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Generation/FileGenerator.kt')
-rw-r--r--src/Generation/FileGenerator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generation/FileGenerator.kt b/src/Generation/FileGenerator.kt
index dbd631cb..5221c400 100644
--- a/src/Generation/FileGenerator.kt
+++ b/src/Generation/FileGenerator.kt
@@ -26,7 +26,7 @@ public class FileGenerator(val signatureGenerator: LanguageService,
public fun buildOutlines(nodes: Iterable<DocumentationNode>) {
for ((location, items) in nodes.groupByTo(LinkedHashMap()) { locationService.location(it) }) {
- val file = location.file.appendExtension("yml")
+ val file = location.file.appendExtension("yml") // TODO: hardcoded
file.getParentFile()?.mkdirs()
FileOutputStream(file).use {
OutputStreamWriter(it, defaultCharset).use {