This commit is contained in:
a 2020-10-21 22:45:55 +03:00
parent ab54a9db22
commit 4141dd82af

View file

@ -100,9 +100,7 @@ class CommandsCache(cabc.Mapping):
self._path_mtime = max_mtime
if cache_valid_path and cache_valid_paths:
if cache_valid_aliases:
return self._cmds_cache
else:
if not cache_valid_aliases:
for cmd, alias in alss.items():
key = cmd.upper() if ON_WINDOWS else cmd
if key in self._cmds_cache: