Skip to content

Commit b57785d

Browse files
author
Katrina Owen
committed
Add default introductory code example
Instead of having logic for a fallback in the backend, we're choosing a default for the snippet file. For tracks that have core exercises, we pick the first core exercise. For tracks without these, we pick the first exercise listed in the config.
1 parent 64a0683 commit b57785d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/SNIPPET.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class Greeter {
2+
3+
String getGreeting() {
4+
return "Hello, World!";
5+
}
6+
7+
}

0 commit comments

Comments
 (0)