sync: Expose GetFile and GetFileContent functions
This commit is contained in:
parent
d24b1c5d4d
commit
560110ba5e
6 changed files with 21 additions and 21 deletions
|
|
@ -75,7 +75,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, md toml.MetaData, err error) {
|
||||
var defs string
|
||||
defs, err = getFileContent(i, path.Join(exPath, "challenge.txt"))
|
||||
defs, err = GetFileContent(i, path.Join(exPath, "challenge.txt"))
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue