sync: add some precision around Empty flags detection
This commit is contained in:
parent
a6e799a635
commit
4f6480d7f8
|
@ -126,7 +126,7 @@ func buildKeyFlag(exercice fic.Exercice, flag ExerciceFlag, flagline int, defaul
|
|||
|
||||
hashedFlag, err := fic.ComputeHashedFlag([]byte(raw), !flag.CaseSensitive, validatorRegexp(flag.ValidatorRe))
|
||||
if err != nil {
|
||||
errs = append(errs, err.Error())
|
||||
errs = append(errs, fmt.Sprintf("%q: flag #%d: %s", path.Base(exercice.Path), flagline, err.Error()))
|
||||
return
|
||||
}
|
||||
fl := fic.Flag(fic.FlagKey{
|
||||
|
|
Loading…
Reference in New Issue
Block a user