sync: alert about unknown keys in challenge.txt

This commit is contained in:
nemunaire 2019-07-21 22:31:43 +02:00
parent 936ef09e33
commit c8ece39cb2
3 changed files with 19 additions and 6 deletions

View file

@ -16,7 +16,7 @@ import (
)
func buildExerciceHints(i Importer, exercice fic.Exercice) (hints []fic.EHint, errs []string) {
params, err := parseExerciceParams(i, exercice.Path)
params, _, err := parseExerciceParams(i, exercice.Path)
if err != nil {
errs = append(errs, fmt.Sprintf("%q: challenge.txt: %s", path.Base(exercice.Path), err))
return