mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Fix empty folders being considered as kitten
When pulling a git commit that contains delete folder actions, the local folders will not be deleted.
This commit is contained in:
@@ -133,7 +133,7 @@ def run_kitten(kitten: str, run_name: str = '__main__') -> None:
|
||||
def all_kitten_names() -> FrozenSet[str]:
|
||||
ans = []
|
||||
for name in list_kitty_resources('kittens'):
|
||||
if '__' not in name and '.' not in name and name != 'tui':
|
||||
if '__' not in name and '.' not in name and 'main.py' in list_kitty_resources(f'kittens.{name}'):
|
||||
ans.append(name)
|
||||
return frozenset(ans)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user