sync: don't try to import part of splitted files, just import the whole file
This commit is contained in:
parent
2bae30a841
commit
f7762c0828
|
@ -47,9 +47,9 @@ func BuildFilesListInto(i Importer, exercice fic.Exercice, into string) (files [
|
|||
continue
|
||||
}
|
||||
|
||||
if matched, _ := path.Match("*.00", fname); matched {
|
||||
if matched, _ := path.Match("*.[0-9][0-9]", fname); matched {
|
||||
fname = fname[:len(fname)-3]
|
||||
} else if matched, _ := path.Match("*00", fname); matched {
|
||||
} else if matched, _ := path.Match("*[0-9][0-9]", fname); matched {
|
||||
fname = fname[:len(fname)-2]
|
||||
} else if matched, _ := path.Match("*_MERGED", fname); matched {
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue
Block a user