kittens/diff: move empty pattern check to dir tree walk

This commit is contained in:
Suvayu Ali
2022-06-05 10:10:17 +02:00
parent fbf1ec43c7
commit eea652f1d0
2 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ def syntax_aliases(raw: str) -> Dict[str, str]:
def pattern_list(raw: str) -> List[str]:
return [pat for pat in raw.split(' ') if pat]
return raw.split(' ')
def parse_map(val: str) -> Iterable[KittensKeyDefinition]: