mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
Fix problem building docs on Win
This commit is contained in:
parent
c06e17754e
commit
dfd635d039
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class CommandsCache(cabc.Mapping):
|
||||||
name on Windows as a list, conserving the ordering in `PATHEXT`.
|
name on Windows as a list, conserving the ordering in `PATHEXT`.
|
||||||
Returns a list as `name` being the only item in it on other platforms."""
|
Returns a list as `name` being the only item in it on other platforms."""
|
||||||
if ON_WINDOWS:
|
if ON_WINDOWS:
|
||||||
pathext = builtins.__xonsh_env__.get('PATHEXT')
|
pathext = builtins.__xonsh_env__.get('PATHEXT', [])
|
||||||
name = name.upper()
|
name = name.upper()
|
||||||
return [
|
return [
|
||||||
name + ext
|
name + ext
|
||||||
|
|
Loading…
Add table
Reference in a new issue