mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-10 01:51:09 +00: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:
parent
e2fda5d1c4
commit
97ef09b633
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue