mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
rename
This commit is contained in:
parent
6fbe4271ae
commit
c34bddf46e
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ class CommandsCache(cabc.Mapping):
|
|||
key = cmd.upper() if ON_WINDOWS else cmd
|
||||
allcmds[key] = (os.path.join(path, cmd), alss.get(key, None))
|
||||
|
||||
warn_cnt = builtins.__xonsh__.env.get("XONSH_WARNING_PATH_FILES")
|
||||
warn_cnt = builtins.__xonsh__.env.get("COMMANDS_CACHE_SIZE_WARNING")
|
||||
if warn_cnt:
|
||||
cnt = len(allcmds)
|
||||
if cnt > warn_cnt:
|
||||
|
|
|
@ -1725,7 +1725,7 @@ def DEFAULT_VARS():
|
|||
"or None / the empty string if traceback logging is not desired. "
|
||||
"Logging to a file is not enabled by default.",
|
||||
),
|
||||
"XONSH_WARNING_PATH_FILES": Var(
|
||||
"COMMANDS_CACHE_SIZE_WARNING": Var(
|
||||
is_int,
|
||||
int,
|
||||
str,
|
||||
|
|
Loading…
Add table
Reference in a new issue