lib/trackler/track.rb in trackler-2.1.0.55 vs lib/trackler/track.rb in trackler-2.2.0.0
- old
+ new
@@ -114,9 +114,11 @@
def dir
root.join("tracks", id)
end
def hints
+ path = File.join(dir, 'config', 'exercise-readme-insert.md')
+ return File.read(path) if File.exist?(path)
DocFile.find(basename: 'EXERCISE_README_INSERT', track_dir: dir).render
end
private