sync: handle new sync format: filenames and locations
This commit is contained in:
parent
12cb4e95f4
commit
d303ecfa38
4 changed files with 14 additions and 33 deletions
|
|
@ -22,7 +22,7 @@ type ExerciceParams struct {
|
|||
// parseExerciceParams reads challenge definitions from defines.txt and extract usefull data to set up the challenge.
|
||||
func parseExerciceParams(i Importer, exPath string) (p ExerciceParams, err error) {
|
||||
var defs string
|
||||
defs, err = getFileContent(i, path.Join(exPath, "defines.txt"))
|
||||
defs, err = getFileContent(i, path.Join(exPath, "challenge.txt"))
|
||||
|
||||
_, err = toml.Decode(defs, &p)
|
||||
|
||||
|
|
|
|||
Reference in a new issue