avoid "latest" collision with "test" by checking relative path

pull/60/head
Nicholas Bollweg 2021-07-06 11:46:07 -04:00 zatwierdzone przez GitHub
rodzic ca929dca5c
commit 658af9642c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -437,7 +437,7 @@ ALL_HEADERS = _clean(
ALL_DEMO_CONTENTS = [
d
for d in ALL_DIO
if "test" not in str(d).lower()
if "test" not in str(d.relative_to(ROOT)).lower()
and ".doit" not in d.name
and " " not in d.name
and d.name not in ["A.dio"]