Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbrooks committed Jul 27, 2024
1 parent 86d4f57 commit f9a4d24
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions vgo/src/main/kotlin/com/jzbrooks/vgo/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ class Application {
if (errors != "") {
System.err.println(
"""
Skipping ${input.path}
Skipping ${input.path}
$errors
""".trimIndent()
$errors
""".trimIndent(),
)
null
} else {
Expand All @@ -167,9 +167,10 @@ class Application {
DOCUMENT_BUILDER_FACTORY.newDocumentBuilder().parse(pipeTerminal)
convertedDocument.documentElement.normalize()

val documentRoot = convertedDocument.childNodes.asSequence().first {
it.nodeType == Document.ELEMENT_NODE
}
val documentRoot =
convertedDocument.childNodes.asSequence().first {
it.nodeType == Document.ELEMENT_NODE
}

com.jzbrooks.vgo.vd.parse(documentRoot)
}
Expand Down

0 comments on commit f9a4d24

Please sign in to comment.