repochecker: Use challenge.txt as a more representative file for detecting exercices

This commit is contained in:
nemunaire 2023-05-05 08:27:50 +02:00
parent e261c77c79
commit 3103dc1029
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 && !sync.GlobalImporter.Exists(path.Join(p, "statement.txt")) && !sync.GlobalImporter.Exists(path.Join(p, "statement.md")) {
if theme != nil && !sync.GlobalImporter.Exists(path.Join(p, "challenge.txt")) {
nberr += len(errs)
for _, err := range errs {
log.Println(err)