repochecker: If a statement file is present, treat as exercice

This commit is contained in:
nemunaire 2023-05-03 10:55:38 +02:00
parent c5a059bd3b
commit f623699f56
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ func main() {
nberr := 0
theme, exceptions, errs := sync.BuildTheme(sync.GlobalImporter, p)
if theme != nil {
if theme != nil && !sync.GlobalImporter.Exists(path.Join(p, "statement.txt")) && !sync.GlobalImporter.Exists(path.Join(p, "statement.md")) {
nberr += len(errs)
for _, err := range errs {
log.Println(err)