We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9108b8f commit 3bfa1d1Copy full SHA for 3bfa1d1
kotlin-jvm/src/main/kotlin/playground/Velocity.kt
@@ -20,8 +20,8 @@ fun main() {
20
println("# Velocity")
21
22
val engine = velocityEngine()
23
- helloWorld(engine)
24
- complexExample(engine)
+ if (engine.resourceExists("/hello.vm")) helloWorld(engine)
+ if (engine.resourceExists("/complex.vm")) complexExample(engine)
25
}
26
27
0 commit comments