mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 17:30:59 +01:00
cleaning
This commit is contained in:
parent
ab54a9db22
commit
4141dd82af
1 changed files with 2 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue