sync: import files first during the full import, to permit file dependency to flag

This commit is contained in:
nemunaire 2019-01-18 14:53:38 +01:00
parent 41f815f54d
commit d9fb261232

View File

@ -34,8 +34,8 @@ func SyncDeep(i Importer) (errs map[string][]string) {
if exercices, err := theme.GetExercices(); err == nil {
for _, exercice := range exercices {
errs[theme.Name] = append(errs[theme.Name], SyncExerciceFlags(i, exercice)...)
errs[theme.Name] = append(errs[theme.Name], SyncExerciceFiles(i, exercice)...)
errs[theme.Name] = append(errs[theme.Name], SyncExerciceFlags(i, exercice)...)
errs[theme.Name] = append(errs[theme.Name], SyncExerciceHints(i, exercice)...)
}
}