Skip to content

Commit 418f76a

Browse files
Katrina Owenjoeljuca
authored andcommitted
Add default introductory code example (exercism#342)
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 d1d61c4 commit 418f76a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/SNIPPET.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class HelloWorld {
2+
hello() {
3+
return 'Hello, World!';
4+
}
5+
}
6+
7+
export default HelloWorld;

0 commit comments

Comments
 (0)