sync: implement hint dependency on flags
This commit is contained in:
parent
6ad11e49d5
commit
f3a34c00db
5 changed files with 175 additions and 116 deletions
|
|
@ -55,11 +55,11 @@ func SyncDeep(i Importer) (errs map[string][]string) {
|
|||
errs[theme.Name] = append(errs[theme.Name], SyncExerciceFiles(i, exercice)...)
|
||||
|
||||
DeepSyncProgress += exerciceStep / 3
|
||||
_, ferrs := SyncExerciceFlags(i, exercice)
|
||||
flagsBindings, ferrs := SyncExerciceFlags(i, exercice)
|
||||
errs[theme.Name] = append(errs[theme.Name], ferrs...)
|
||||
|
||||
DeepSyncProgress += exerciceStep / 3
|
||||
_, herrs := SyncExerciceHints(i, exercice)
|
||||
_, herrs := SyncExerciceHints(i, exercice, flagsBindings)
|
||||
errs[theme.Name] = append(errs[theme.Name], herrs...)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue